Visible to Intel only — GUID: GUID-0732E920-DFCE-401F-8B1A-1A4724A9720A
Visible to Intel only — GUID: GUID-0732E920-DFCE-401F-8B1A-1A4724A9720A
fzero-initialized-in-bss, Qzero-initialized-in-bss
Determines whether the compiler places in the DATA section any variables explicitly initialized with zeros.
Linux: |
-fzero-initialized-in-bss -fno-zero-initialized-in-bss |
macOS: |
-fzero-initialized-in-bss -fno-zero-initialized-in-bss |
Windows: |
/Qzero-initialized-in-bss /Qzero-initialized-in-bss- |
None
-fno-zero-initialized-in-bss |
Variables explicitly initialized with zeros are placed in the BSS section. This can save space in the resulting code. |
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* and macOS) or /Qzero-initialized-in-bss- (Windows*) is specified, the compiler places in the DATA section any variables that are initialized to zero.
Visual Studio: None
Eclipse: Data > Disable Placement of Zero-Initialized Variables in .bss - place in .data instead
Xcode: Data > Place Zero-Initialized Variables in .bss
None