Intel® Fortran Compiler 17.0 Developer Guide and Reference

standard-semantics

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

Syntax

Linux and 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 2008 features.

Option standard-semantics enables option fpscomp logicals and the following settings for option assume: byterecl, fpe_summary, ieee_fpe_flags (if the fp-model option setting is strict or precise), minus0, noold_ldout_format, noold_maxminloc, noold_unit_star, noold_xor, protect_parens, realloc_lhs1, 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

Eclipse: None

Xcode: Language > Enable F2008 Semantics

Alternate Options

None

See Also

1 This is the default setting for this assume option.