[Bug c++/77489] Invalid mangling of static local variables

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 5 16:11:00 GMT 2016


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Seems the ABI changed in 2009 here, Jan 30 2009 version only has the _
<non-negative number> part there, while Feb 25 2010 already has the current
wording.  I found:
http://sourcerytools.com/pipermail/cxx-abi-dev/2009-June/002170.html
Changing write_discriminator is trivial, but I guess we need to handle it
differently based on -fabi-version=.  Not sure what to do in the demangler, if
the <discriminator> is followed by something that starts with a number, it will
be hard to properly demangle it if we want to support old and new ABI
demangling.


More information about the Gcc-bugs mailing list