Arguments and Variables

See more deatils in Setting Arguments and Variables.

Option

Description

Default

-align
 

Analyze and reorder memory layout for variables and arrays.

-align

-noalign

Disables -align.

OFF

-auto
 

Makes all local variables AUTOMATIC. Causes all variables to be allocated on the stack, rather than in local static storage.

OFF

-auto_scalar

Causes scalar variables of rank 0, except for variables of the COMPLEX or CHARACTER types, to be allocated on the stack, rather than in local static storage.
Enables the compiler to make better choices concerning variables that should be kept in registers during program execution. On by default.

OFF

-common_args
 

Assumes "by reference" subprogram arguments may have aliases of one another.

OFF

-implicitnone

Enables the default IMPLICIT NONE.

OFF

-save
 

Forces the allocation of all variables in static storage. If a routine is invoked more than once, this option forces the local variables to retain their values from the first invocation terminated. Opposite of -auto.

OFF

-u

Enables the default IMPLICIT NONE. Same as -implicitnone.

OFF

-zero
 

Initializes all data to zero. It is most commonly used in conjunction with -save.

OFF