C++ PATCH for c++/50224 (bogus unused parameter warning with lambda)

Jason Merrill jason@redhat.com
Tue Aug 30 08:20:00 GMT 2011


The lambda capture path in finish_id_expression wasn't calling mark_used 
like the other paths.

Tested x86_64-pc-linux-gnu, applying to trunk and 4.6.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 50224.patch
Type: text/x-patch
Size: 1203 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110830/c9c3fb5d/attachment.bin>


More information about the Gcc-patches mailing list