http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56237
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-19 17:21:14 UTC --- Author: jakub Date: Tue Feb 19 17:21:08 2013 New Revision: 196142 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196142 Log: Backported from mainline 2013-02-07 Jakub Jelinek <ja...@redhat.com> PR c++/56237 * decl.c (push_local_name): Look at DECL_DISCRIMINATOR (t) only if DECL_DISCRIMINATOR_SET_P (t) rather than just DECL_LANG_SPECIFIC (t). * g++.dg/abi/mangle61.C: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/g++.dg/abi/mangle61.C Modified: branches/gcc-4_7-branch/gcc/cp/ChangeLog branches/gcc-4_7-branch/gcc/cp/decl.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog