Visible to Intel only — GUID: GUID-BAC4C8D3-9132-416D-87A7-8CC12B012F4B
Visible to Intel only — GUID: GUID-BAC4C8D3-9132-416D-87A7-8CC12B012F4B
intconstant
Tells the compiler to use FORTRAN 77 semantics to determine the kind parameter for integer constants.
Linux: |
-intconstant -nointconstant |
macOS: |
-intconstant -nointconstant |
Windows: |
/intconstant /nointconstant |
None
nointconstant |
The compiler uses the Fortran default INTEGER type. |
This option tells the compiler to use FORTRAN 77 semantics to determine the kind parameter for integer constants.
With FORTRAN 77 semantics, the kind is determined by the value of the constant. All constants are kept internally by the compiler in the highest precision possible. For example, if you specify option intconstant, the compiler stores an integer constant of 14 internally as INTEGER(KIND=8) and converts the constant upon reference to the corresponding proper size. Fortran specifies that integer constants with no explicit KIND are kept internally in the default INTEGER kind (KIND=4 by default).
Note that the internal precision for floating-point constants is controlled by option fpconstant.
Visual Studio: Compatibility > Use F77 Integer Constants
None