Using Advanced Optimization Options on HP-UX [ HP C Programmer's Guide ] MPE/iX 5.0 Documentation
HP C Programmer's Guide
Using Advanced Optimization Options on HP-UX
Several advanced optimization options can be specified on the same
command line. For example, the following command line specifies
aggressive level 3 optimizations with unrestricted compile time, disables
software pipelining, and disables moving conditional floating-point
instructions out of a loop:
cc +O3 +Oaggressive +Onolimit +Onomoveflops +Onopipeline \
sourcefile.c
Specify the level of optimization first (+O1, +O2, +O3, or +04), followed
by any +O[no]optimization options.
MPE/iX 5.0 Documentation