This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: = {0} in bss?
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: mrs at apple dot com (Mike Stump)
- Cc: gcc at gcc dot gnu dot org (GCC Mailing List)
- Date: Tue, 22 Aug 2006 16:08:14 -0400 (EDT)
- Subject: Re: = {0} in bss?
>
> I hate to even bring this up, but... should things like:
>
> int m[1 << 27] = {0};
>
> be put in .bss? I'm tempted to say no, if you want that, you have to
> remove {0}.
Yes if -fzero-initialized-in-bss is on which it is by default since at least 3.4.0.
-- Pinski