[Bug c++/65209] [5 Regression] Broken code with global static variables, invalid pointer when freeing global variables

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 25 18:21:00 GMT 2015


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Exported symbols like
_ZZN12_GLOBAL__N_112Q_QGS_s_self13innerFunctionEvEN6HolderC1Ev
look very much wrong to me, anonymous namespace shouldn't be visible to other
TUs.  Similarly, sections containing such symbols shouldn't be linkonce.



More information about the Gcc-bugs mailing list