Visible to Intel only — GUID: GUID-DB7BF3D1-3528-416F-BD49-CE5A3B5546DF
Visible to Intel only — GUID: GUID-DB7BF3D1-3528-416F-BD49-CE5A3B5546DF
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 and do not specify a standard level with the stand option, it enables all of the options that implement the current Fortran Standard behavior of the compiler, which are Fortran 2018 features.
The following table shows which options are set by option standard-semantics when a stand option specifies a standard level:
Option assume setting |
Option standard-semantics |
Options stand:f90 and stand:f95 |
Option stand:f03 |
Option stand:f08 |
Option stand:f18 |
Option stand:f23 |
---|---|---|---|---|---|---|
byterecl |
Y |
Y |
Y |
Y |
Y |
Y |
failed_images |
Y |
Y |
Y |
|||
fpe_summary |
Y |
Y |
Y |
Y |
Y |
Y |
ieee_compares |
Y |
Y |
Y |
|||
ieee_mode_restore |
Y |
Y |
Y |
Y |
Y |
|
minus0 |
Y |
Y |
Y |
Y |
Y |
|
noold_e0g0_format |
Y |
Y |
Y |
|||
noold_inquire_recl |
Y |
Y |
Y |
|||
noold_ldout_format |
Y |
Y |
Y |
Y |
Y |
Y |
noold_ldout_zero |
Y |
Y |
Y |
Y |
Y |
|
noold_maxminloc |
Y |
Y |
Y |
Y |
Y |
|
noold_unit_star |
Y |
Y |
Y |
Y |
Y |
Y |
noold_xor |
Y |
Y |
Y |
Y |
Y |
Y |
protect_parens |
Y |
Y |
Y |
Y |
Y |
Y |
realloc_lhs |
Y |
Y |
Y |
Y |
Y |
|
recursion |
Y |
Y |
Y |
|||
std_expon_output |
Y |
Y |
||||
std_intent_in |
Y |
Y |
Y |
Y |
Y |
|
std_minus0_rounding |
Y |
Y |
Y |
Y |
Y |
|
std_mod_proc_name |
Y |
Y |
Y |
Y |
Y |
Y |
std_value |
Y |
Y |
Y |
Y |
||
Other options: |
||||||
fpscomp:logicals |
Y |
Y |
Y |
Y |
Y |
Y |
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