Determines whether the compiler assumes no overflows in the intermediate computation of subscript expressions in loops.
IA-32, IntelĀ® 64 architectures
Linux and Mac OS X: |
-opt-subscript-in-range -no-opt-subscript-in-range |
Windows: |
/Qopt-subscript-in-range /Qopt-subscript-in-range- |
None
-no-opt-subscript-in-range |
The compiler assumes overflows in the intermediate computation of subscript expressions in loops. |
This option determines whether the compiler assumes no overflows in the intermediate computation of subscript expressions in loops.
If you specify -opt-subscript-in-range (Linux and Mac OS X) or /Qopt-subscript-in-range (Windows), the compiler ignores any data type conversions used and it assumes no overflows in the intermediate computation of subscript expressions. This feature can enable more loop transformations.
None
The following shows an example where these options can be useful. m is declared as type long (64-bits) and all other variables inside the subscript are declared as type int (32-bits):
A[ i + j + ( n + k) * m ]