HP Fortran Programmer Guide (766160-001, March 2014)
NOTE: Object files and archive libraries must be accessible to the debugger if the +objdebug
method of storing debug information is used.
+onetrip generates code that executes any DO loop at least once. In accordance with the
language standard, HP Fortran will not execute a DO loop if either of the following conditions
is true:
+[no]onetrip
• The increment value is greater than zero, and the initial value is greater than the limit.
• The increment value is less than zero, and the initial value is less than the limit.
However, older implementations of Fortran (for example, some FORTRAN 66 processors) always
execute a DO loop at least once. The +onetrip option provides compatibility with those
nonstandard implementations.
The default is +noonetrip.
Generate code for prof(1) profiling. The has the same functionality as the +prof option. The
default is +noprof.
-p
Optimize the application based on profile data found in the database fileflow.data , produced
by compilation with +Ild(1), +I, and +df, for more details. The +P option is incompatible
with the +I and -Soptions. It is incompatible with the -g option only during compile time.
+P
NOTE: This option is only valid on Itanium®-based systems.
+pa1 compiles an application for routine-level profiling.+pa1
+pa is ignored when the HP Fortran compiler generates position-independent code
(PIC). The following options cause+pa to be ignored: +pic=short, +pic=long,
+zand +Z.
NOTE: +pal s ignored when the HP Fortran compiler generates position-independent
code (PIC). The following options cause +pato be ignored: +pic=short, +pic=long,
+z and +Z.
Link with the parallel version of some intrinsics in the libF90_parallel library. The default
is +Onoparallel_intrinsics.
+[no]parallel_intrinsics
+pic generates object code that can be added to a shared library. Object code
generated with this option is position-independent code (PIC). All addresses are either
pc-relative or indirect references.
+pic={short|long|no}
The argument —short or long— specifies the allocated size of the data linkage
table. Normally you would specify +pic=short to generate PIC. Use +pic=long
when the linker issues an error message indicating data linkage table overflow.
Specifying +pic=long causes the compiler to allocate additional space for more
imported symbols.
+ppu appends underscores to external names, including subroutines, functions, and
common blocks (for example, int_sum_ rather than the default int_sum).
+[no]ppu
For Itanium® and PA-RISC 64-bit architectures,the default is +ppu. For PA-RISC 32-bit
architecture, the default is +noppu.
NOTE: Mixed languages programs are affected by the +ppu option. C languages
references to Fortran routines and COMMON blocks require a trailing underscore
when the Fortran code is compiled with +ppu. +noppu may be used in 64-bit mode
to avoid trailing underscores.
+pre_include causes the compiler to prepend the code in file before any
compilation occurs. This option can appear more than once—each specifying different
files—on the same command line.
+pre_include=file
+prof prepares object files for profiling with prof. The default is +noprof. The -p
option can be used to perform the same function as +prof. profis provided as part
of the “HP-UX General Programming Tools” product (see prof(1)).
+[no]prof
Command-line options 33