HP aC++/HP C A.06.20 Release Notes
+Ointeger_overflow (Default Changed)
The default setting for all optimization settings is now
"moderate".+Ointeger_overflow=moderate
+Onolibcalls= Option (New)
+Onolibcalls= allows you to turn off optimization for listed fun ctions.
+Onolibcalls=function1,function2,...
This allows you to turn off libcall optimizations (inlining or replacement) for calls to
the listed functions. This overrides system header files.
+wendian Option (New)
This option allows the user to identify areas in their source that might have porting
issues when going between little-endian and big-endian.
+wlint Option (Enhanced)
New diagnostic features have been added for this option. New checks have been added
for memory leaks, out-of-scope memory access, null pointer dereference, and
out-of-bounds access.
+wsecurity= Option (Enhanced)
The +wsecurity option now optionally takes a argument to control how verbosely
the security messages are emitted:
+wsecurity=[1|2|3|4]
The default level is 2.
System-wide Option Configuration
There is a new ability to configure compiler options on a system-wide basis. The
compiler now reads the configuration file:
/var/aCC/share/aCC.conf (aC++), or
/var/ansic/share/cc.conf(ANSI C), if present.
The options in the configuration file can be specified in the same manner as that for
CCOPTS and CXXOPTS, namely:
[options-list-1][| [options-list-2]]
where options in options-list-1 are applied before the options in the command
line, and options in options-list-2 are applied after the options in the command
line.
The final option ordering would be:
<file-options-1><envvar-options-1><command-line-options>
28 What’s New in This Version