[Bug c++/51818] [C++0x] Name mangling error using lambda expressions in GCC47

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 11 20:27:00 GMT 2012


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

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2012-01-11 20:26:50 UTC ---
Author: jason
Date: Wed Jan 11 20:26:44 2012
New Revision: 183107

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183107
Log:
    PR c++/51818
    * mangle.c (find_substitution): A type is only a substitution
    match if we're looking for a type.
    (write_nested_name): Use decl_mangling_context.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-mangle3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/mangle.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list