https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113974
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|other |middle-end
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I am not totally sure it matters if it is in .bss or .lcomm really.
In the case with -fdata-sections, cc is put in .bss.cc section which is the
named section after the name of the variable.
Since it is a local variable, the "common" part is really ignored and still put
in bss but via the assembler.