C++ PATCH for c++/52845 (bogus warning with empty lambda)

Jason Merrill jason@redhat.com
Wed Apr 4 14:39:00 GMT 2012


My patch for return type deduction forgot to update the fntype local 
variable in finish_function, leading to a bogus warning about a missing 
return statement.

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


More information about the Gcc-patches mailing list