C++ PATCH for c++/60375 (unevaluated lambda)

Jason Merrill jason@redhat.com
Tue Mar 25 18:16:00 GMT 2014


The parser was getting confused by trying to process the body of the 
lambda in an unevaluated context, so let's just skip the body.  The 
second patch avoids repeated errors about the issue, but isn't necessary 
to fix the ICE, so I'm saving it for after 4.9.

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


More information about the Gcc-patches mailing list