[Bug c++/52845] non-void return type deduced for lambda with empty compound statement
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 4 14:41:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52845
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2012-04-04 14:40:58 UTC ---
Author: jason
Date: Wed Apr 4 14:40:51 2012
New Revision: 186139
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186139
Log:
PR c++/52845
* decl.c (finish_function): Update fntype after deducing return type.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-warn4.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list