-fzero-initialized-in-bss again
Eric Botcazou
ebotcazou@libertysurf.fr
Sat May 1 08:03:00 GMT 2004
> Is the problem that -fzero-initialized-in-bss is causing a zero
> initialized variable to become a common variable?
Yes, precisely.
> A BSS variable should not be a common variable. That would be wrong.
That's what the Ada compiler does: all variables that would be put in .bss
end up in .common if -fcommon is enabled.
I guess we have to clarify a bit the relationship between Ada and .common
then.
--
Eric Botcazou
More information about the Gcc
mailing list