HP aC++/HP C A.06.25 Programmer's Guide

is transformed as follows (note that x is invariant in the loop):
x_inv = 1.0/x;
for (int j=1;j<5;j++)
a[j] = b[j] * x_inv;
Since multiplication is considerably faster than division, the optimized program runs
faster.
+Ofrequently_called
+Ofrequently_called=function1[,function2...]
The named functions are assumed to be frequently called. This option overrides any
information in a profile database.
+Ofrequently_called:filename
The file indicated by filename contains a list of functions, separated by spaces or
newlines. These functions are assumed to be frequently called. This option overrides
any information in a profile database.
+O[no]initcheck
+O[no]initcheck
The initialization checking feature of the optimizer can be on or off:
When on (+Oinitcheck), the optimizer issues warning messages when it discovers
uninitialized variables.
When off (+Onoinitcheck), the optimizer does not issue warning messages.
Use +Oinitcheck at optimization level 2 or above. If this option is used together with
+check=uninit, uninitialized variables will remain uninitialized so that an error will
be reported at runtime and trigger a program abort if the variables are accessed.
+O[no]inline
+O[no]inline
The +Oinline option indicates that any function can be inlined by the optimizer.
+Onoinline disables inlining of functions by the optimizer. This option does not affect
functions inlined at the source code level.
Use +O[no]inline at optimization levels 2, 3 and 4.
The default is +Oinline at optimization levels 3 and 4.
Usage:
+O[no]inline=function1{,function2...]
Enables [disables] optimizer inlining for the named functions.
+O[no]inline:filename
78 Command-Line Options