re PR c++/49482 ([C++0x] unused parameter warning on lambda in function template)
authorJason Merrill <jason@redhat.com>
Tue, 21 Jun 2011 20:07:45 +0000 (16:07 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 21 Jun 2011 20:07:45 +0000 (16:07 -0400)
commit358bb337a5b54b0e6f9f263342437e9633d869bb
tree4513c280fa8eea9464ad7cbe3339631b7830ea1a
parentccaff498ac86149a980278f7e527270a1b3d7089
re PR c++/49482 ([C++0x] unused parameter warning on lambda in function template)

PR c++/49482
* semantics.c (maybe_add_lambda_conv_op): Call mark_exp_read for
static fn parameters.

From-SVN: r175273
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-warn3.C [new file with mode: 0644]