Visible to Intel only — GUID: GUID-7460389A-85D0-44F9-8AC6-8FB56A8177A2
Visible to Intel only — GUID: GUID-7460389A-85D0-44F9-8AC6-8FB56A8177A2
standard-realloc-lhs
Determines whether the compiler uses the current Fortran Standard rules or the old Fortran 2003 rules when interpreting assignment statements.
Linux: |
-standard-realloc-lhs -nostandard-realloc-lhs |
macOS: |
-standard-realloc-lhs -nostandard-realloc-lhs |
Windows: |
/standard-realloc-lhs /nostandard-realloc-lhs |
None
standard-realloc-lhs |
The compiler uses the current Fortran Standard rules when interpreting assignment statements. |
This option determines whether the compiler uses the current Fortran Standard rules or the old Fortran 2003 rules when interpreting assignment statements.
Option standard-realloc-lhs (the default), tells the compiler that when the left-hand side of an assignment is an allocatable object, it should be reallocated to the shape of the right-hand side of the assignment before the assignment occurs. This is the current Fortran Standard definition. This feature may cause extra overhead at run time. This option has the same effect as option assume realloc_lhs.
If you specify nostandard-realloc-lhs, the compiler uses the old Fortran 2003 rules when interpreting assignment statements. The left-hand side is assumed to be allocated with the correct shape to hold the right-hand side. If it is not, incorrect behavior will occur. This option has the same effect as option assume norealloc_lhs.
None