# standard-semantics

Determines whether the current Fortran Standard behavior of the compiler is fully implemented.

## Syntax

Linux: | -standard-semantics

macOS: | -standard-semantics

Windows: | /standard-semantics

## Arguments

None

## Default

OFF | The compiler implements most but not all of the current Fortran Standard behavior.

## Description

This option determines whether the current Fortran Standard behavior of the compiler is fully implemented.

If you specify option standard-semantics, it enables all of the options that implement the current Fortran Standard behavior of the compiler, which is Fortran 2018 features.

Option standard-semantics enables option fpscomp logicals and the following settings for option assume: byterecl, failed_images, fpe_summary, ieee_compares, ieee_fpe_flags (if the fp-model option setting is strict or precise), minus0, nan_compares, noold_inquire_recl, noold_ldout_format, noold_ldout_zero, noold_maxminloc, noold_unit_star, noold_xor, protect_parens, realloc_lhs1, recursion, std_intent_in, std_minus0_rounding1, std_mod_proc_name, and std_value1.

If you specify option standard-semantics and also explicitly specify a different setting for an affected assume option, the value you specify takes effect. It overrides the settings enabled by option standard-semantics.

## IDE Equivalent

Visual Studio: Language > Enable F2008 Semantics

## Alternate Options

None

Parent topic: Language Options

## See Also

assume compiler option
stand compiler option

1 This is the default setting for this assume option.