http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58705
--- Comment #6 from Marek Polacek mpolacek at gcc dot gnu.org ---
Author: mpolacek
Date: Thu Oct 24 13:54:00 2013
New Revision: 204014
URL: http://gcc.gnu.org/viewcvs?rev=204014root=gccview=rev
Log:
PR c++/58705
cp/
* typeck2.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58705
Marek Polacek mpolacek at gcc dot gnu.org changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58705
Marek Polacek mpolacek at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58705
--- Comment #2 from Marek Polacek mpolacek at gcc dot gnu.org ---
This will ICE even with -std=c++03 -Wnarrowing.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58705
--- Comment #3 from Marek Polacek mpolacek at gcc dot gnu.org ---
This will fix the ICE, but perhaps we want to give an error instead...
I'll regtest this and post to ML.
--- a/gcc/cp/typeck2.c
+++ b/gcc/cp/typeck2.c
@@ -833,7 +833,8 @@
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58705
--- Comment #4 from Marek Polacek mpolacek at gcc dot gnu.org ---
(In reply to Marek Polacek from comment #3)
This will fix the ICE, but perhaps we want to give an error instead...
IMNSHO we want, as C FE does:
58705.C:1:1: error: empty scalar
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58705
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords|