Intel® Fortran Compiler 16.0 User and Reference Guide

GS

Determines whether the compiler generates code that detects some buffer overruns.

Syntax

Linux and OS X:

None

Windows:

/GS

/GS-

Arguments

None

Default

/GS-

The compiler does not detect buffer overruns.

Description

This option determines whether the compiler generates code that detects some buffer overruns that overwrite a function's return address, exception handler address, or certain types of parameters.

This option has been added for Microsoft compatibility. It uses the Microsoft implementation.

For more details about option /GS, see the Microsoft documentation.

IDE Equivalent

None

Alternate Options

None

See Also