public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/18867] New: [4.0 Regression] ICE on invalid switch quantity
@ 2004-12-07 11:34 belyshev at lubercy dot com
  2004-12-07 11:35 ` [Bug c/18867] " belyshev at lubercy dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: belyshev at lubercy dot com @ 2004-12-07 11:34 UTC (permalink / raw)
  To: gcc-bugs

current mainline crashes on this invalid code:
----------------------------------------------------------------------------------------
void f()
{
  float x;
  switch (x) {case 0: break;};
}
----------------------------------------------------------------------------------------

bug.c: In function `f':
bug.c:4: error: switch quantity not an integer
bug.c:4: internal compiler error: Segmentation fault

: Search converges between 2004-07-20-trunk (#491) and 2004-07-21-trunk (#492).

-- 
           Summary: [4.0 Regression] ICE on invalid switch quantity
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: belyshev at lubercy dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2004-12-08  7:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-07 11:34 [Bug c/18867] New: [4.0 Regression] ICE on invalid switch quantity belyshev at lubercy dot com
2004-12-07 11:35 ` [Bug c/18867] " belyshev at lubercy dot com
2004-12-07 12:57 ` steven at gcc dot gnu dot org
2004-12-07 13:05 ` steven at gcc dot gnu dot org
2004-12-08  0:12 ` cvs-commit at gcc dot gnu dot org
2004-12-08  0:15 ` steven at gcc dot gnu dot org
2004-12-08  7:41 ` cvs-commit 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).