HP C A.06.05 Reference Manual
Compiling and Running HP C Programs
Compiling HP C Programs
Chapter 9 219
+Oshortdata Places objects in the short data area; and references
to such data assume it resides in the short data area
+Otype_safety Controls type-based aliasing assumptions.
+Ounroll_factor Applies the unroll factor to all loops in the current
translation unit.
+Oprofile=collect Prepares the object code for profile-based
optimization data collection.
+Oprofile=use Performs profile-based optimization.
+[no]objdebug When used with -g, +objdebug leaves debug
information in the object files instead of copying it
to the executable file. The object files must be
accessible to the HP WDB debugger when
debugging.
+p Disallows all anachronistic constructs.
+profilebucketsize Enables support for prof and gprof when building
an executable, but not a shared library.
+sb Make bitfields signed by default in both 32-bit and
64-bit modes.
+[no]srcpos Controls generation of source position information
for HP Caliper.
+time Generates timing information for compiler
subprocesses.
+tls Specifies whether references to thread local data
items are to be performed according to the mode.
+tru64 Causes return types of unprototyped functions to be
treated as long, instead of int, matching Tru64
behavior.
+ub Specifies unqualified char, short, int, long, and
long long bit fields as unsigned.
Table 9-1 HP C Compiler Options at a Glance (Continued)
Option Description