[forwarded from http://bugs.debian.org/561150] $ echo _GLOBAL__I__Z10convertKeyPKc | c++filt global constructors keyed to _Z10convertKeyPKc $ echo _GLOBAL__I__Z10convertKeyPKc | c++filt | c++filt global constructors keyed to convertKey(char const*)
c++filt is part of binutils and indeed the PR is about binutils, thus doesn't belong here. If you have strong reasons to believe GCC is at fault, please explain and reopen.
libiberty/testsuite/demangle-expected has --- --format=gnu-v3 --no-params _GLOBAL__I__Z2fnv global constructors keyed to _Z2fnv global constructors keyed to _Z2fnv --- Shouldn't it be global constructors keyed to fn()
c++filt is part of the binutils, but it just runs the demangler which is part of gcc. Any change here will be a change to the demangler.
A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00446.html
Oops, sorry, I stand corrected, needed some sleep... indeed, that reminds me... other/42230 !! ;)
Author: hjl Date: Tue Nov 16 17:56:50 2010 New Revision: 166810 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166810 Log: Properly demangle a global constructor symbol. 2010-11-16 H.J. Lu <hongjiu.lu@intel.com> PR other/42670 PR binutils/11137 * cp-demangle.c (d_make_demangle_mangled_name): New. (d_demangle_callback): Use it on DCT_GLOBAL_XTORS. * testsuite/demangle-expected: Updated. Modified: trunk/libiberty/ChangeLog trunk/libiberty/cp-demangle.c trunk/libiberty/testsuite/demangle-expected
Fixed.
A regression: FAIL: abi/demangle/regression/cw-13.cc execution test Proposed fix: http://gcc.gnu.org/ml/gcc-patches/2010-11/msg01725.html
Author: hjl Date: Thu Nov 18 13:24:00 2010 New Revision: 166903 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166903 Log: Update expected demangler output. 2010-11-18 H.J. Lu <hongjiu.lu@intel.com> PR other/42670 * testsuite/abi/demangle/regression/cw-13.cc: Updated. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/testsuite/abi/demangle/regression/cw-13.cc
GCC 4.6.0 is being released, adjusting target milestone.