HP aC++/HP ANSI C A.06.27 Release Notes

and indicating the number of contexts omitted. The default value for num is 5. A value of 0 removes
the limit.
+wperfadvice option (New)
+wperfadvice[={1|2|3|4}]
This option enables performance advisory messages. The optional level 1, 2, 3, or 4 controls how
verbosely the performance advisory messages are emitted. The higher the level, the more messages
are generated. Level 1 emits only the most important messages, while level 4 emits all the messages.
If the optional level is not specified, it defaults to 2.
+Wv option (New)
+Wv[d1,d2,...,dn]
The new +Wvoption displays the description for diagnostic message numbers d1,d2,...,dn.
Specifying this option causes HP Code Advisor to emit the descriptive text for the specified
diagnostics to stderr. This option must not be used with any other compiler options.
If the description for a diagnostic is not available, HP Code Advisor emits only the diagnostic with
a note that the description is not available.
+wlock option (New)
+wlock
This option enables compile-time diagnostic messages for potential errors in using lock/unlock
calls in programs that use pthread library based lock/unlock functions. Warnings are emitted for
acquiring an already acquired lock, releasing an already released lock, and unconditionally
releasing a lock that has been conditionally acquired.
This diagnostic checking is based on cross-module analysis performed by the compiler. Therefore,
the +wlockoption implicitly enables a limited form of cross-module analysis, even if -ipo
or+O4options are not specified. This can lead to a significant increase in the compile time compared
to a build without the +wlockoption. Using this option could result in the compiler invoking
optimizations other than those that are part of the user-specified optimization level. If +wlockis
used in addition to -ipoor +O4, the generated code is not affected, and the compile time does
not increase much.
+O[no]autopar option (New)
+O[no]autopar
This release adds support on the Itanium platform for a new optimization -auto-parallelization -
which is enabled by adding the +Oautoparoption to the command-line. This optimization allows
applications to exploit otherwise idle resources on multicore or multiprocessor systems by
automatically transforming serial loops into multithreaded parallel code.
When the +Oautoparoption is used at optimization levels +O3and above, the compiler will
automatically parallelize those loops that are deemed safe and profitable by the loop transformer.
The default is +Onoautopar, which disables automatic parallelization of loops.
Automatic parallelization can be combined with manual parallelization through the use of OpenMP
directives and the +Oopenmp option. When both +Oopenmp and +Oautopar options are specified,
the compiler honors the OpenMP directives first, and then looks for loops that have not been
parallelized manually with OpenMP directives. For these loops, the compiler automatically
parallelizes each loop that is both safe and likely to have improved performance when executed
in parallel.
Programs compiled with the +Oautopar option require the libcps, libomp, and libpthreads
runtime support libraries to be present at both compilation and runtime. When linking with the
32 Product changes in earlier versions