This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/44690] -fzero-initialized-in-bss does not work
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jul 2010 22:23:51 -0000
- Subject: [Bug middle-end/44690] -fzero-initialized-in-bss does not work
- References: <bug-44690-12292@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-21 22:23 -------
const int i; -fno-zero-initialized-in-bss -> .bss = FAIL
You need -fno-common also to get it out of the BSS.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44690