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++/58761] ICE with a lambda capturing this in a NSDMI


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58761

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon May 19 18:41:24 2014
New Revision: 210624

URL: http://gcc.gnu.org/viewcvs?rev=210624&root=gcc&view=rev
Log:
    PR c++/58761
    * pt.c (tsubst_copy): Don't check at_function_scope_p.
    (instantiate_class_template_1): Don't push_to_top_level in an nsdmi.

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


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