This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/58812] [4.7/4.8/4.9 Regression] ICE initializing an r-value reference with an initializer list
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 28 Jan 2014 13:45:18 +0000
- Subject: [Bug c++/58812] [4.7/4.8/4.9 Regression] ICE initializing an r-value reference with an initializer list
- Auto-submitted: auto-generated
- References: <bug-58812-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58812
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jan 28 13:44:46 2014
New Revision: 207187
URL: http://gcc.gnu.org/viewcvs?rev=207187&root=gcc&view=rev
Log:
PR c++/58812
* call.c (convert_like_real): Give helpful error about excess braces
for reference binding, too.
Added:
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/cpp0x/initlist76.C
Modified:
branches/gcc-4_8-branch/gcc/cp/ChangeLog
branches/gcc-4_8-branch/gcc/cp/call.c