HP Fortran Programmer Guide (766160-001, March 2014)
Enhancements
The following enhancements have been made to support the addition of new Tru64 Fortran options:
• AddedCLF_TRU64 bit to command-line flags, used to distinguish migration options from
‘regular’ options.
• Added support forCLF_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 TRU64DRIVERas 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_flagprior 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 +Aand +allow_unalignedoptions.
• Modifed EPC to allow for finer-grained control of alignment attributes forCOMMONs, record
fields, and COMMONsderived types (previously, these could not be specified individually).
• Modified BRIDGEto allow U2unaligned 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:
• -fpconstantflag (alternate spelling of -R8)
• -check_bounds(alternate for-C)
• -[no]cppflags
• -fixed/-freeflags
• -d_lines(synonym for +dlines)
• -integer_size (16|32|64)flag
• -i2, -i4, -i8 flags
• -1, -66, -f66, -nof77, -onetrip(alternate for +onetrip)
• -nof66(alternate for +noonetrip)
• -static, -noautomatic, -norecursiveflags (all alternate spellings of +save)
• -automaticand-recursive (alternates for +nosave)
• -show [no]code(alternate for +[no]asm)
• -[no]machine_code(alternate for +[no]extend_source)
• -col72(alternate for +noextend_source)
• -u(alternate for+implicit_none )
• -names{uppercase|lowercase}(alternate for +[no]uppercase)
• -[no]altparam (-Wc, -dps)
• -what(alternate for +what)
• +[no]padsrc flag (not restricted to Tru64 mode). HP mode default is +padsrc
Porting from Tru64 to HP Fortran 149