Restricting Optimizations

The following options restrict or preclude the compiler's ability to optimize your program:

-O0

Disables optimizations. Enables -fp option.

-mp

Restricts optimizations that cause some minor loss or gain of precision in floating-point arithmetic to maintain a declared level of precision and to ensure that floating-point arithmetic more nearly conforms to the ANSI and IEEE* standards. See -mp option for more details.

-g

Specifying the -g  option turns off the default -O2 option and makes -O0 the default unless -O2 (or -O1 or -O3) is explicitly specified in the command line together with -g. See Optimizations and Debugging.

-nolib_inline

Disables inline expansion of intrinsic functions.

For more information on ways to restrict optimization, see Using -ip with -Qoption specifiers.