Turns off the aggressive optimizations that have the potential to alter the semantics of your program.
See also #pragma options.
-qstrict turns off the following optimizations:
This option is only valid with -O2 or higher optimization levels.
-qstrict sets -qfloat=norsqrt.
-qnostrict sets -qfloat=rsqrt.
You can use -qfloat=rsqrt to override the -qstrict settings.
For example:
If there is a conflict between the options set with -qnostrict and -qfloat=options, the last option specified is recognized.
To compile myprogram.C so that the aggressive optimizations of -O3 are turned off, and division by the result of a square root is replaced by multiplying by the reciprocal (-qfloat=rsqrt), enter:
xlc++ myprogram.C -O3 -qstrict -qfloat=rsqrt
Compiler Command Line Options
float
O, optimize
#pragma options