[Bug c++/12613] [3.3/3.4] ICE on initializer with an array index
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Oct 14 16:33:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12613
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-10-14 16:33:31
date| |
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-14 16:33 -------
The first testcase does not ICE on the mainline:
tin:~/src/gnu/gcctest>gcc pr12613.cc
pr12613.cc:1: error: expected primary-expression
pr12613.cc:1: error: expected `}'
pr12613.cc:1: error: expected `,' or `;'
pr12613.cc:1: error: expected declaration
The second and third one does ICE but the 2.95.3 produced a sorry for all three (so I do not know
if this counts as a regression):
tin:~/src/gnu/gcctest>~/ia32_linux_gcc2_95//bin/gcc pr12613.2.cc
pr12613.2.cc:1: sorry, not implemented: non-trivial labeled initializers
pr12613.2.cc:1: sorry, not implemented: non-trivial labeled initializers
tin:~/src/gnu/gcctest>~/ia32_linux_gcc2_95//bin/gcc pr12613.1.cc
pr12613.1.cc:2: sorry, not implemented: non-trivial labeled initializers
pr12613.1.cc:2: sorry, not implemented: non-trivial labeled initializers
tin:~/src/gnu/gcctest>~/ia32_linux_gcc2_95//bin/gcc pr12613.cc
pr12613.cc:1: sorry, not implemented: non-trivial labeled initializers
More information about the Gcc-bugs
mailing list