C++ PATCH for c++/44160 (__func__ and lambda)

Jason Merrill jason@redhat.com
Thu Jun 16 22:11:00 GMT 2011


Here since we hadn't called begin_compound_stmt yet for the simple 
return case, __func__ couldn't find a block scope to push into.  So we 
open-code cp_parser_function_body and share the code between the two cases.

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


More information about the Gcc-patches mailing list