This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51827] [4.7 regression] Error: 'FOO' conflicts with a previous declaration, with PCH/LTO/C++11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51827

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> 2012-01-16 21:32:08 UTC ---
Author: jason
Date: Mon Jan 16 21:32:05 2012
New Revision: 183221

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183221
Log:
    PR c++/51827
    * mangle.c (mangle_decl): Don't mangle uninstantiated templates.

Added:
    trunk/gcc/testsuite/g++.dg/pch/mangle1.C
    trunk/gcc/testsuite/g++.dg/pch/mangle1.Hs
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/mangle.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]