Fortran User's Guide

Appendix B Features Release History

This Appendix lists the new and changed features in this and previous release of f77 and f90:

f77 New Features and Changes

This section lists the new features and behavior changes specific to f77 in this and previous releases.

Features in f77 5.0 That are New Since 4.2

f77 5.0 includes the following new and changed features:

Features in f77 4.2 That are New Since 4.0

f77 4.2 includes the following features that are new or changed since the 4.0 release:

Features in f77 4.0 that are New Since 3.0/3.0.1

f77 4.0 includes the following features that are new or changed since 3.0/3.0.1:

Table B-1 New Features in f77 4.0 Since 3.0/3.0.1

-arg=local

Pass by value result. 

-copyargs

Allow assignment to constant arguments. 

-dbl

Double the default size for integers, reals, and so forth. 

-ext_names=e

Make external names with or without underscores. 

-fns

Turn on SPARC non-standard floating-point mode (SPARC).

-fround=r

Set the IEEE rounding mode in effect at startup (SPARC).

-fsimple[=n]

Allow levels of simple floating-point model. 

-ftrap=t

Set the IEEE trapping mode in effect at startup (SPARC).

-mp=x

Use either Sun-style or Cray-style MP directives (SPARC).

-O5

Attempt the highest level of optimization. 

-pad=p

Pad local variables or common blocks 

-vax=v

Specify a choice of VMS features to use. 

-xarch=a

Limit the set of instructions the compiler may use (SPARC).

-xcache=c

Define the cache properties for use by the optimizer (SPARC).

-xchip=c

Specify the target processor for use by the optimizer (SPARC).

-xhelp=h

Show help information for README file or for options (flags).

-xildoff

Turn off the Incremental Linker (SPARC).

-xildon

Turn on the Incremental Linker (SPARC).

-xprofile=p

Collect data for a profile or use a profile to optimize (SPARC).

-xregs=r

Specify the usage of registers for the generated code (SPARC).

-xsafe=mem

Allow compiler to assume no memory-based traps (SPARC).

-xspace

Do no optimizations that increase the code size (SPARC).

-xtarget=t

Specify target system for instruction set (SPARC).

-ztext

Do not make the library if relocations remain. 

FORTRAN 77 Upward Compatibility

The FORTRAN 77 5.0 source is compatible with earlier releases, except for minor changes due to operating system changes and bug fixes.

Fortran 3.0/3.0.1 to 4.0

Executables (a.out), libraries (.a), and object files (.o) compiled and linked in Fortran 3.0/3.0.1 under Solaris 2 are compatible with Fortran 5.0 under Solaris 2.

BCP: Running Applications from Solaris 1 in 2

You must install the Binary Compatibility Package for the executable to run.

Executables compiled and linked in Solaris 1 do run in Solaris 2, but they do not run as fast as when they are compiled and linked under the appropriate Solaris release.

Libraries (.a) and object files (.o) compiled and linked in Fortran 2.0.1 under Solaris 1 are not compatible with Fortran 5.0.

f90 New Features and Changes

This section lists the new features and behavior changes specific to this 5.0 release of f90.

New Features in f90 2.0 Since 1.2: