[Bug c++/54383] Internal compiler error for lamba function using this-> with -std=c++0x

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 4 17:14:00 GMT 2013


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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2013-03-04 17:12:48 UTC ---
Author: jason
Date: Mon Mar  4 17:12:32 2013
New Revision: 196437

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196437
Log:
    PR c++/56464
    PR c++/54383
    * semantics.c (lambda_expr_this_capture): Handle NSDMI
    and non-class scopes.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nsdmi1.C
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this10.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c



More information about the Gcc-bugs mailing list