public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/27421]  New: [4.0/4.1/4.2 regression] ICE with invalid array in struct
@ 2006-05-04 15:05 reichelt at gcc dot gnu dot org
  2006-05-04 15:27 ` [Bug c/27421] " pinskia at gcc dot gnu dot org
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-04 15:05 UTC (permalink / raw)
  To: gcc-bugs

The C frontend ICEs on the following invalid code snippet:

==============================
struct A
{
    int i;
    void x[1];
};

void foo(struct A a) {}
==============================

bug.c:4: error: declaration of 'x' as array of voids
bug.c: In function 'foo':
bug.c:7: internal compiler error: tree check: expected class 'type', have
'exceptional' (error_mark) in classify_argument, at config/i386/i386.c:2979
Please submit a full bug report, [etc.]

The ICE happens since GCC 3.1 and in GCC 2.95.3.
In GCC 3.0.x we did not ICE.


-- 
           Summary: [4.0/4.1/4.2 regression] ICE with invalid array in
                    struct
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, 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=27421


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

end of thread, other threads:[~2006-06-12 21:40 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
2006-05-04 15:27 ` [Bug c/27421] " pinskia at gcc dot gnu dot org
2006-05-05  0:58 ` [Bug target/27421] " reichelt at gcc dot gnu dot org
2006-05-05  1:02 ` pinskia at gcc dot gnu dot org
2006-05-05 20:01 ` reichelt at gcc dot gnu dot org
2006-05-06  0:55 ` patchapp at dberlin dot org
2006-05-07  3:14 ` pinskia at gcc dot gnu dot org
2006-05-07 21:15 ` reichelt at gcc dot gnu dot org
2006-05-07 21:17 ` [Bug target/27421] [4.0/4.1 " reichelt at gcc dot gnu dot org
2006-05-07 21:22 ` reichelt at gcc dot gnu dot org
2006-05-11 16:32 ` reichelt at gcc dot gnu dot org
2006-05-11 16:35 ` reichelt at gcc dot gnu dot org
2006-05-11 16:35 ` reichelt at gcc dot gnu dot org
2006-05-15 19:35 ` patchapp at dberlin dot org
2006-06-08 10:16 ` patchapp at dberlin dot org
2006-06-08 10:23 ` reichelt at gcc dot gnu dot org
2006-06-08 10:29 ` reichelt at gcc dot gnu dot org
2006-06-08 20:53 ` reichelt at gcc dot gnu dot org
2006-06-08 21:01 ` reichelt at gcc dot gnu dot org
2006-06-12 21:39 ` reichelt at gcc dot gnu dot org
2006-06-12 21:40 ` reichelt at gcc dot gnu dot org
2006-06-12 21:57 ` [Bug target/27421] [4.0/4.1/4.2 " 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).