f77 5.0 includes the following new and changed features:
New options:
-fpover detects floating-point overflows in I/O processing.
-xcode=code specifies the memory address model on SPARC platforms.
-xcommonchk enables runtime checking for inconsistent COMMON block declarations.
-xmaxopt enables the OPT=n pragma and controls the maximum optimization level allowed by OPT pragmas in the source code.
-xprefetch allows the compiler to generate prefetch instructions on UltraSPARC II platforms.
-xvector allows the compiler to replace certain math library calls within DO loops with single calls to a vectorized math routine.
Changed options:
-xcrossfile[=n] - optional level number added.
-fns[={yes|no}] - optional yes/no added.
-Ztha - option now ignored.
New Features:
Compile for the 64-bit Solaris 7 environment on 64-bit SPARC platforms with -xarch=v9 or v9a.
Support in the I/O library for large files (larger than 2 Gigabytes).
Support for large arrays on 64-bit Solaris 7 environments.
Dynamic arrays (local arrays with dynamic size) implemented (see FORTRAN 77 Language Reference Manual).
The REDUCTION directive accepts arrays in the list of variables.
SPARC: A TASKCOMMON directive declares variables in COMMON to be private.
Fortran 90 style constants that allows specification of byte size (for example, 12345678_8 for a 64-bit, 8-byte, constant).
New optimization pragma allows setting the compilers optimization level on a routine by routine basis.
Year 2000 safe date_and_time() library routine.