Fortran Programming Guide

-fast

This single option selects a number of performance options that, working together, produce object code optimized for execution speed without an excessive increase in compilation time.

The options selected by -fast are subject to change from one release to another, and not all are available on each platform:

-fast provides a quick way to engage much of the optimizing power of the compilers. Each of the composite options may be specified individually, and each may have side effects to be aware of (discussed in the Fortran User's Guide). Following -fast with additional options adds further optimizations. For example:

f77 -fast -O5 ...

sets the optimization to level 5 instead of 4.


Note -

-fast includes -dalign and -native. These options may have unexpected side effects for some programs.