This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/77489] Invalid mangling of static local variables
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 Sep 2016 14:58:35 +0000
- Subject: [Bug c++/77489] Invalid mangling of static local variables
- Auto-submitted: auto-generated
- References: <bug-77489-4@http.gcc.gnu.org/bugzilla/>
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_