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

Compiling and linking
Compiling with the f90 command
Chapter 260
The named symbols, or all symbols if no symbols are specified, are assigned the
protected export class. This means these symbols will not be preempted by symbols
from other load modules, so the compiler may bypass the linkage table for both code
and data references and bind them to locally-defined code and data symbols.
When used with no symbol list, -Bprotected implies -W1, -aarchive_shared,
causing the linker to prefer an archive library over a shared library if one is available.
This can be overridden by following the -Bprotected option with a subsequent
-W1,-a option.
-Bprotected:filename
The file indicated by filename contains a list of symbols, separated by spaces or
newlines. These symbols are assigned the protected export class.
-Bprotected_data
Marks only data symbols as having the protected export class.
-Bprotected_def
This is the same as -Bprotected, but only locally-defined (non-tentative) symbols are
assigned the protected export class.
-Bsymbolic
All symbols are assigned the protected export class. This is equivalent to
-Bprotected with no symbol list.
Using optimization options
The options described in this section allow you to control the different optimizations that the compiler can
apply to your program. These options fall into two categories:
Options that control classes of optimization (for example, optimizations that affect code size)
Options that control specific optimizations (for example, inlining)
The following subsections describe the options in both categories. For information about the options that
control levels of optimization, see the description of the +On option in the “Option descriptions” on page 27.
The +O[no]info option, which provides compile-time information about the optimization process, is
described in the same section.