HP aC++/HP C A.06.20 Programmer's Guide
The default is +Onoconservative.
+O[no]limit
+O[no]limit
The +Olimit option enables optimizations that significantly increase compile time or
that consume a lot of memory.
The +Onolimit option suppresses optimizations regardless of their effect on compile
time or memory consumption.
Use +Onolimit at all optimization levels.
Usage:
+O[no]limit=level
The defined values of level are:
default
Based on tuning heuristics, the optimizer will spend a reasonable amount
of time processing large procedures. This is the default option.
min
For large procedures, the optimizer will avoid non-linear time
optimizations. This option is a synonym for +Olimit.
none
The optimizer will fully optimize large procedures, possibly resulting in
significantly increased compile time. This option is a synonym for
+Onolimit.
Example:
To remove optimization time restrictions at O2, O3, or O4 optimization levels, use
+Onolimit as follows:
aCC <opt level> +Onolimit sourcefile.C
+O[no]ptrs_ansi
+O[no]ptrs_ansi
The default is +Onoptrs_ansi.
+Optrs_ansi is synonymous to +Otype_safety=ansi.
+Onoptrs_ansi is synonymous to +Otype_safety=off.
NOTE: This option is supported in C-mode only. A warning is displayed in C++ when
this option is used.
+O[no]ptrs_strongly_typed
+O[no]ptrs_strongly_typed
The default is +Onoptrs_strongly_typed.
+Optrs_strongly_typed is synonymous to +Otype_safety=strong.
72 Command-Line Options