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++/49482] [4.6/4.7 regression][C++0x] unused parameter warning on lambda in function template


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


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