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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Apr 15 21:17:03 2015
New Revision: 222132

URL: https://gcc.gnu.org/viewcvs?rev=222132&root=gcc&view=rev
Log:
    PR c++/65727
    * lambda.c (lambda_expr_this_capture): In unevaluated context go
    through the normal loop, just don't capture.
    (maybe_resolve_dummy): Handle null return.

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

Reply via email to