Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

standard-semantics

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

Syntax

Linux:

-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_lhs, recursion, std_intent_in, std_minus0_rounding, std_mod_proc_name, and std_value.

Note that realloc_lhs, std_minus0_rounding, and std_value are default settings for option assume.

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 F2018 Semantics

Alternate Options

None

See Also