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

Migrating to HP Fortran
Incompatibilities with HP FORTRAN 77
Chapter 10 221
Incompatibilities with HP FORTRAN 77
The following sections describe known incompatibilities between HP Fortran and HP FORTRAN 77. These
incompatibilities include both source-level and object-code incompatibilities. A subset of these are detected
by the HP fid tool, which is described in “Fortran incompatibilities detector” on page 234.
Compiler limits
HP Fortran supports format field widths up to 32767. HP FORTRAN 77 allows format field widths up to
2147483639, which is close to 2*31.
Command-line options not supported
The HP Fortran compiler does not accept the f77 command-line options listed in Table 10-1, and the f77
options listed in Table 10-2 have been renamed for f90. In addition, HP Fortran code may not link correctly
with HP FORTRAN 77 object files that were compiled with these options; see “Object code issues” on
page 231.
Table 10-1 f77 options not supported by f90
+800 +e +N
+A +I[2|4] +R
+A3 +L8 +U
+A8 +LA -w66
+apollo -lisam
+E +mr
Table 10-2 f77 options replaced by f90 options
f77 option f90 replacement
-A
+langlvl
a
-a
+langlvl
a
+autodblpad
+autodbl
a