This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -fzero-initialized-in-bss again


> ... this is *not* the case in C or C++.
>
> The only way a variable should *ever* wind up in COMMON is if DECL_COMMON
> is set by the front end.  Otherwise it should go in .bss or .data.

What about Fortran?  It seems that com.c:start_decl unconditionally sets the 
flag, much like Ada (even without testing -fcommon).

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]