[Bug c++/77489] Invalid mangling of static local variables
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 5 14:58:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77489
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-09-05
CC| |trippels at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Confirmed.
Clang handles this correctly:
0000000000000028 d _ZZ3foovE8localVar__10_
000000000000002c d _ZZ3foovE8localVar__11_
The demangler also has to be fixed.
% c++filt_ _ZZ3foovE8localVar__10_
_ZZ3foovE8localVar__10_
More information about the Gcc-bugs
mailing list