https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83100

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |law at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That change looks wrong to me.
Previously the variable was common and thus if you e.g. mixed it with some
other TU that has const int a = 5; then you could link the two together and the
value of the variable would be 5.  But with the changes, that is no longer the
case (if it doesn't ICE), the variable is put into .rodata section.

Reply via email to