Intel® C++ Compiler XE 13.1 User and Reference Guides

fzero-initialized-in-bss , Qzero-initialized-in-bss

Determines whether the compiler places in the DATA section any variables explicitly initialized with zeros.

IDE Equivalent

Windows: None

Linux: Data > Disable Placement of Zero-Initialized Variables in .bss - place in .data instead

OS X: Data > Place Zero-Initialized Variables in .bss

Architectures

All

Syntax

Linux and OS X:

-fzero-initialized-in-bss

-fno-zero-initialized-in-bss

Windows:

/Qzero-initialized-in-bss

/Qzero-initialized-in-bss-

Arguments

None

Default

-fno-zero-initialized-in-bss
or/Qzero-initialized-in-bss -

Variables explicitly initialized with zeros are placed in the BSS section. This can save space in the resulting code.

Description

This option determines whether the compiler places in the DATA section any variables explicitly initialized with zeros.

If option -fno-zero-initialized-in-bss (Linux* OS and OS X*) or /Qzero-initialized-in-bss- (Windows* OS) is specified, the compiler places in the DATA section any variables that are initialized to zero.

Alternate Options

None


Submit feedback on this help topic