[Bug c++/58812] [4.7/4.8/4.9 Regression] ICE initializing an r-value reference with an initializer list
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 28 04:31:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58812
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jan 28 04:31:01 2014
New Revision: 207165
URL: http://gcc.gnu.org/viewcvs?rev=207165&root=gcc&view=rev
Log:
PR c++/58812
* call.c (convert_like_real): Give helpful error about excess braces
for ck_rvalue of scalar type.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/initlist76.C
trunk/gcc/testsuite/g++.dg/cpp0x/initlist77.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
More information about the Gcc-bugs
mailing list