public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/18384] New: ICE on zero-length array with empty initializer...
@ 2004-11-08 21:34 apl at alum dot mit dot edu
  2004-11-08 22:09 ` [Bug c++/18384] " apl at alum dot mit dot edu
                   ` (25 more replies)
  0 siblings, 26 replies; 27+ messages in thread
From: apl at alum dot mit dot edu @ 2004-11-08 21:34 UTC (permalink / raw)
  To: gcc-bugs

Compilers before 3.4.3 (including 2.95.3, gcc-3.3.x) accept

  const int table[0] = {};

With 3.4.3, we see

[apl]aluminum$ /tools/linux/gcc-3.4.3/bin/g++ -c bug.cxx
bug.cxx:1: internal compiler error: in tree_low_cst, at tree.c:3313
Please submit a full bug report,
with preprocessed source if appropriate.

This also fails on Solaris.....

-- 
           Summary: ICE on zero-length array with empty initializer...
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: apl at alum dot mit dot edu
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18384


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2005-05-02 11:13 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-08 21:34 [Bug c++/18384] New: ICE on zero-length array with empty initializer apl at alum dot mit dot edu
2004-11-08 22:09 ` [Bug c++/18384] " apl at alum dot mit dot edu
2004-11-08 22:12 ` [Bug c++/18384] [3.3/3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
2004-11-12 18:20 ` mmitchel at gcc dot gnu dot org
2004-11-18  1:44 ` giovannibajo at libero dot it
2004-11-18  7:59 ` mark at codesourcery dot com
2004-11-18  9:00 ` giovannibajo at libero dot it
2004-11-20 18:33 ` pinskia at gcc dot gnu dot org
2004-11-21 22:53 ` giovannibajo at libero dot it
2004-11-23  1:17 ` mmitchel at gcc dot gnu dot org
2004-12-10 13:27 ` pinskia at gcc dot gnu dot org
2004-12-15 13:36 ` pinskia at gcc dot gnu dot org
2004-12-27 15:47 ` pinskia at gcc dot gnu dot org
2004-12-27 17:18 ` mmitchel at gcc dot gnu dot org
2004-12-27 21:57 ` giovannibajo at libero dot it
2004-12-28 20:58 ` cvs-commit at gcc dot gnu dot org
2004-12-29 18:54 ` gdr at integrable-solutions dot net
2005-02-07 21:12 ` giovannibajo at libero dot it
2005-02-25 16:01 ` steven at gcc dot gnu dot org
2005-02-25 16:20 ` jakub at gcc dot gnu dot org
2005-02-28 16:23 ` [Bug c++/18384] [3.3/3.4/4.0/4.1 " cvs-commit at gcc dot gnu dot org
2005-03-10 14:19 ` cvs-commit at gcc dot gnu dot org
2005-03-10 14:21 ` cvs-commit at gcc dot gnu dot org
2005-03-10 14:23 ` [Bug c++/18384] [3.3 " jakub at gcc dot gnu dot org
2005-04-30 13:08 ` gdr at gcc dot gnu dot org
2005-04-30 13:26 ` gdr at gcc dot gnu dot org
2005-05-02 11:13 ` reichelt at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).