public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/27489]  New: [4.1/4.2 regression] ICE on broken switch condition
@ 2006-05-08 14:05 reichelt at gcc dot gnu dot org
  2006-05-08 15:42 ` [Bug c/27489] " pinskia at gcc dot gnu dot org
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-08 14:05 UTC (permalink / raw)
  To: gcc-bugs

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

==========================
void foo()
{
  switch (,) { }
}
==========================

bug.c: In function 'foo':
bug.c:3: error: expected expression before ',' token
bug.c:3: internal compiler error: tree check: expected class 'type', have
'exceptional' (error_mark) in c_start_case, at c-typeck.c:7035
Please submit a full bug report, [etc.]


-- 
           Summary: [4.1/4.2 regression] ICE on broken switch condition
           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=27489


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

end of thread, other threads:[~2006-10-05  3:45 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-08 14:05 [Bug c/27489] New: [4.1/4.2 regression] ICE on broken switch condition reichelt at gcc dot gnu dot org
2006-05-08 15:42 ` [Bug c/27489] " pinskia at gcc dot gnu dot org
2006-05-09  8:03 ` pinskia at gcc dot gnu dot org
2006-05-09  8:11 ` pinskia at gcc dot gnu dot org
2006-05-09  8:18 ` pinskia at gcc dot gnu dot org
2006-05-10 16:49 ` kazu at gcc dot gnu dot org
2006-05-14 22:35 ` mmitchel at gcc dot gnu dot org
2006-05-14 22:36 ` mmitchel at gcc dot gnu dot org
2006-05-15 14:31 ` reichelt at igpm dot rwth-aachen dot de
2006-05-25  2:40 ` mmitchel at gcc dot gnu dot org
2006-06-04 17:19 ` jsm28 at gcc dot gnu dot org
2006-06-30  6:11 ` pinskia at gcc dot gnu dot org
2006-08-14  2:29 ` pinskia at gcc dot gnu dot org
2006-08-15  1:43 ` pinskia at gcc dot gnu dot org
2006-08-15  1:44 ` [Bug c/27489] [4.1 " pinskia at gcc dot gnu dot org
2006-08-16 20:50 ` reichelt at gcc dot gnu dot org
2006-10-05  3:43 ` pinskia at gcc dot gnu dot org
2006-10-05  3:45 ` 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).