HP 3000 Manuals

Changing the Aggressiveness of Optimizations on HP-UX [ HP C Programmer's Guide ] MPE/iX 5.0 Documentation


HP C Programmer's Guide

Changing the Aggressiveness of Optimizations on HP-UX 

At each level of optimization, you can control the aggressiveness of the
optimizations performed.

By default, the optimizer uses a basic level of aggressiveness.

Use the +Oconservative option at optimization level 2, 3, or 4 if you are
not sure if your code conforms to standards.  This option provides more
safety.

Use the +Oaggressive option at optimization level 2, 3, or 4 for best
performance when you are willing to risk changes to the behavior of your
programs.  Using the +Oaggressive option can cause your program to have
compilation or run-time problems that require troubleshooting.



MPE/iX 5.0 Documentation