-fzero-initialized-in-bss again

Eric Botcazou ebotcazou@act-europe.fr
Sat May 1 14:54:00 GMT 2004


> ... 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



More information about the Gcc mailing list