HP Fortran Programmer's Guide (March 2010)
Performance and optimization
Using options to control optimization
Chapter 6 157
+Ofrequently_called=func
tion1[,function2...]
All The named functions are assumed to be
frequently called. This option overrides
any information in a profile database.
+Ofrequently_called:file
name
All The file indicated by filename contains a
list of functions, separated by spaces or
newlines. These functions are assumed to
be frequently called. This option overrides
any information in a profile database.
+O[no]info All Display [do not display] information about
the optimization process. This option is
most useful at level 3 and above. The
default is +Onoinfo.
+O[no]initcheck +O2 or
higher
Enable [disable] initialization of any local,
scalar, automatic variable that is found to
be uninitialized. The default is to initialize
if the variable is uninitialized with respect
to every path leading to its use. For more
information about this option, see
“Uninitialized variables” on page 241.
+O[no]inline +O3 or
higher
Enable [disable] inlining. The default is
+Oinline.
+Oinline_budget=n +O3 or
higher
Perform more aggressive inlining, as
specified by n. The default is
+Oinline_budget=100.
NOTE: This option is deprecated and not
supported in future releases. Use
+inline_level.
Table 6-3 Fine-tuning optimization options (Continued)
Option Level Function