C++ PATCH for c++/56710 (ICE with local variable __t in lambda)

Jason Merrill jason@redhat.com
Thu Mar 28 18:12:00 GMT 2013

The compiler was getting confused when an implicit capture added a __t 
class binding and then tried to pop the __t local variable.  But we 
don't need to push the closure members as bindings at all, since we now 
use capture proxies for name resolution.

The second patch fixes a -Wshadow issue I noticed while looking at this.

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

More information about the Gcc-patches mailing list