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

Porting to HP Fortran
Using porting options
Chapter 11250
It is important to note that +cfc requires the following runtime library patches to function properly:
PHSS_31970—liblO77 11.22/11.23 0409
PHSS_31971—libcl 11.11
PHSS_31972—libcl 11.23 0409 (also pa-sharelibs for use through aries)
PHSS_31973—libF90 11.22/11.23 0409
PHSS_31974—libF90 11.11
NOTE +cfc will not work without the patches listed above.
Enhancements
The following enhancements have been made to support the addition of new Tru64 Fortran options:
Added CLF_TRU64 bit to command-line flags, used to distinguish migration options from ‘regular
options.
Added support for CLF_DETACHED_SUB_OPT bit in command-line flags, used to indicate flags with a
space-delimited sub-option (-foo bar), not to be confused with flags that take a space-separated
argument.
Added TRU64DRIVER as new (pseudo-) phase in the f90 driver.
Added/updated Compaq-mode determination code in driver. Now done early in main(), in case other
driver components need to know the state of compaq_flag prior to standard options processing.
Added support for Compaq-mode defaults to be emitted, when they differ from HP-mode.
•Added-align’ option to main table; created tru64_align_flags table for sub-options.
Made all new -align options conflict with existing +A and +allow_unaligned options.
Modifed EPC to allow for finer-grained control of alignment attributes for COMMONs, record fields, and
SEQUENCE derived types (previously, these could not be specified individually).
Modified BRIDGE to allow U2 unaligned record field subtypes to be emitted in 2, 4, and 8 byte record
modes (previously only done for packed fields). As with packed fields, this is done for Itanium
processor family systems only, since the PA-RISC backend doesn’t assert on this condition.
New options
The following Tru64 Fortran options have been added:
-fpconstant flag (alternate spelling of -R8)