[Bug c++/56567] [4.8 Regression] ICE with lambda return type deduction and braced-init-list
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 8 15:56:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56567
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2013-03-08 15:55:28 UTC ---
Author: jason
Date: Fri Mar 8 15:55:18 2013
New Revision: 196548
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196548
Log:
PR c++/56567
* semantics.c (apply_deduced_return_type): Don't allow returning
std::initializer_list.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-initlist3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
More information about the Gcc-bugs
mailing list