HP aC++/HP ANSI C Release Notes (B3901-90037; A.06.26; September 2011)
This form differs from+pathtrace=global because the
size of the table cannot be configured at runtime, and the
contents cannot be dumped to a file. The fixed-size global
path table has better runtime performance than the
configurable global path table. The performance difference
varies depending on the optimization level and how the
program is written.
none Disables generation of both the global and local path tables.
The values can be combined by joining them with a colon. For example:
+pathtrace=global:local
The global_fixed_size and global values are mutually exclusive. If more than one
of them are specified on the command line, the last one takes precedence. The same is
true for the none value.
+pathtracewith no values is equivalent to
+pathtrace=global_fixed_size:local.
The use of this option and the -mt option must be consistent for all compilation and link
steps. That means if -mt is used with +pathtrace at compile time, it should also be
used at link time; if -mt is not used with +pathtrace at compile time, it should not
used at link time. Otherwise, a link-time error can occur.
+check suboptions (New)
The following new suboptions have been added to the +check option:
+check=globals
+check=truncate[:explicit|:implicit]
The following new suboptions have been added to the +check=bounds option:
+check=bounds:array
+check=bounds:pointer
+check=bounds:all
+check=bounds:none
Descriptions:
• +check=globals
The +check=globals option enables runtime checks to detect corruption of global
variables by introducing and checking "guards" between them, at the time of
program exit. Setting environment variable RTC_ROUTINE_LEVEL_CHECK will also
enable the check whenever a function compiled with this option returns.
For this purpose, the definition of global is extended to be all variables that have
static storage duration, including file or namespace scope variables, function scope
static variables, and class (or template class) static data members.
New features in version A.06.15 37