HP aC++/HP C A.06.28 Programmer's Guide Integrity servers (769150-001, March 2014)

To use a browser other than the default, first set the BROWSER environment variable to the alternate
browser’s location:
export BROWSER=AlternateBrowserLocation
To invoke the online guide, use the command:
aCC +help
Inlining Options
These options allow you to specify the amount of source code inlining done by HP aC++.
+inline_level num
+inline_level num
The +inline_level option controls how C/C++ inlining hints influence aCC or cc. Such inlining
happens in addition to functions that are explicitly tagged with the inline keyword. (For C89,
use the __inline keyword). This option controls functions declared with the inline keyword
or within the class declaration, and is effective at all optimization levels.
NOTE: The +d and +inline_level 0 options turn off all inlining, including implicit inlining.
The format for
num
is
N
[.
n
], where
num
is either an integral value from 0 to 9, or a value with a
single decimal place from 0.0 to 9.0, as described in the following table:
Description
num
No inlining is done (same effect as the +d option).0
Only functions marked with the inline keyword or implied by the language to be inline are
considered for inlining.
1
This is the default for C++ at +O1.
Increasingly makes inliner more aggressive below 2.0.1.0 < num < 2.0
Provides more inlining than level 1. This is the default level at optimization levels +O2, +O3, and
+O4.
2
Increasing levels of inliner aggressiveness.2.0 < num < 9.0
Attempts to inline all functions other than recursive functions or those with a variable number of
arguments.
9
The default level depends on +Olevel as shown in the following table:
numlevel
10
11
22
23
24
The +O[no]inline option controls the high-level optimizer that recognizes other opportunities
in the same source file (+O3) or amongst all source files (+O4). For example,
aCC +inline_level 3 app.C
48 Command-Line Options