HP Fortran Programmer's Guide (B3908-90031; September 2011)

An overview of HP Fortran
Back-end
Chapter 112
The other component of the back end is the code generator (CodeGen), which you can control by using the
command-line options in Table 1-5. These options allow you to specify (among other things) that the output
file include debugging or profiling information or that local variables be saved in static memory.
+Ooptlevel This option has the same meaning as the -O[optlevel] option,
except that optlevel must be specified. It is provided for
compatibility with makefiles.
+O[no]info Provide [do not provide] feedback information about the
optimization process. This option is most useful at optimization level
3 and higher. The default is +Onoinfo.
+O[no]optimization Enable [disable] optimization, a predefined string that indicates a
category of optimizations (for example, those that do not increase
code size) or a specific optimization technology (for example,
inlining). See the HP Fortran Programmer’s Reference, for the
different values for optimization.
Table 1-5 Options for controlling code generation
Option Function
+[no]asm Compile the named source files and leave [do not leave] the assembly
language output in corresponding files whose names are suffixed with .s.
The default is +noasm.
+DAmodel Generate code for a specific version of the PA-RISC architecture. model can
be one of the following:
PA-RISC version number (1.1 or 2.0)
A model number (for example, 750 or 870).
One of the PA-RISC processor names (for example, PA7000, PA7100,
or PA8000).
The word portable to generate code compatible across all
PA-RISC 1.1 and 2.0 workstations and servers.
For information about using this option, see “Compiling for different
PA-RISC machines” on page 87.
Table 1-4 Options for controlling optimization (Continued)
Option Function