http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49482
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-21 20:08:05 UTC --- Author: jason Date: Tue Jun 21 20:08:01 2011 New Revision: 175274 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175274 Log: PR c++/49482 * semantics.c (maybe_add_lambda_conv_op): Call mark_exp_read for static fn parameters. Added: branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-warn3.C Modified: branches/gcc-4_6-branch/gcc/cp/ChangeLog branches/gcc-4_6-branch/gcc/cp/semantics.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog