+O[no]sideeffects=name1, name2,...nameN

Optimize with the assumption that the specified

 

subprograms do [do not] modify global variables. This

 

option can be used at optimization level 2 or higher. The

 

default is to assume that all subprograms have side effects

 

unless the optimizer can determine that there are none.

+O[no]static_prediction

Enables [disables] the use of static branch prediction for

 

decision on conditional branches. This is more applicable

 

to large programs with poor locality. This option is

 

available at optimization level 3 and above.

 

NOTE:

This option is valid only on the PA-RISC systems.

+O[no]store_ordering

Preserve [do not preserve] the original program order

 

for stores to memory that is potentially visible to multiple

 

threads. This does not imply strong ordering. The default

 

is +Onostoreordering.

+O[no]vectorize

+Ovectorizecauses the compiler to replace certain

 

loops with calls to the math library. This option is only

 

effective at optimization level 3 or higher.

 

If you link separately from the command line and you

 

compiled with the +Ovectorizeoption, you must ensure

 

that the link line causes the math library to be searched.

 

+Onovectorizeis the default.

 

NOTE:

This option is valid only on the PA-RISC systems.

+O[no]whole_program_mode

Assert [do not assert] that only files compiled with this

 

option directly reference any global variables and

 

procedures that are defined in these files. This option

 

enables optimizations that assume that there are no

 

unseen accesses to the globals. This option can be used

 

at optimization level 4.

 

The default is +Onowhole_program_mode.

Filenames

The f90command accepts files with any of the filename extensions listed in Table 2-12. The table also describes the meaning each name has for the f90command. Files with names other than those listed in the table are passed to the linker.

Table 21 Filenames recognized by f90

Filenames

Meaning

 

 

file.f90

Free-form Fortran source code; processed by the compiler.

 

 

file.f

Fixed-form Fortran source code; processed by the compiler.

 

 

file.F

Fixed-form Fortran source code; first processed by the C preprocessor (cpp), then

 

by the compiler.

 

 

file.i90

Free-form output from the C preprocessor (if the source file ends in .f90); processed

 

by the compiler.

 

 

file.i

Fixed-form output from the C preprocessor (if the source file ends in .For .f);

 

processed by the compiler.

 

 

file.o

Object code; passed to the linker (ld).

 

 

file.s

Assembly language code; passed to the assembler (as).

 

 

Filenames 49