public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/27020]  New: [4.0/4.1/4.2 regression] ICE on invalid array size
@ 2006-04-04  9:19 reichelt at gcc dot gnu dot org
  2006-04-04  9:24 ` [Bug c/27020] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-04-04  9:19 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet causes an ICE since GCC 4.0.1:

===============
int x[1/0];
===============

bug.c:1: warning: division by zero
bug.c:1: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]

Before we got:

bug.c:1: warning: division by zero
bug.c:1: error: storage size of 'x' isn't constant


-- 
           Summary: [4.0/4.1/4.2 regression] ICE on invalid array size
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, monitored
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

end of thread, other threads:[~2006-06-05 17:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-04  9:19 [Bug c/27020] New: [4.0/4.1/4.2 regression] ICE on invalid array size reichelt at gcc dot gnu dot org
2006-04-04  9:24 ` [Bug c/27020] " pinskia at gcc dot gnu dot org
2006-04-16 19:16 ` mmitchel at gcc dot gnu dot org
2006-05-25  2:39 ` mmitchel at gcc dot gnu dot org
2006-06-04 16:50 ` jsm28 at gcc dot gnu dot org
2006-06-05  1:13 ` jsm28 at gcc dot gnu dot org
2006-06-05 14:30 ` [Bug c/27020] [4.0/4.1 " jsm28 at gcc dot gnu dot org
2006-06-05 16:51 ` jsm28 at gcc dot gnu dot org
2006-06-05 17:33 ` pinskia 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).