This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/12613] [3.3/3.4] ICE on initializer with an array index


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]