zero, Qzero

Initializes to zero all local scalar variables of intrinsic type INTEGER, REAL, COMPLEX, or LOGICAL that are saved but not yet initialized.

IDE Equivalent

Windows: Data > Initialize Local Saved Scalars to Zero
Linux:  None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux: -zero
Windows: /Qzero

Arguments

None

Default

OFF Local scalar variables are not initialized to zero.

Description

This option initializes to zero all local scalar variables of intrinsic type INTEGER, REAL, COMPLEX, or LOGICAL that are saved but not yet initialized.

Use -save (Linux) or /Qsave (Windows) on the command line to make all local variables specifically marked as SAVE.

Alternate Options

None

See Also

save compiler option