C++ PATCH for c++/50736 (accepting invalid lambda captures)

Jason Merrill jason@redhat.com
Mon Oct 17 20:04:00 GMT 2011

Here we were failing to check whether the thing being captured was an 
automatic variable, as required by the standard.

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

More information about the Gcc-patches mailing list