public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jay.foad at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/54355] New: ICE on invalid code in switch statement Date: Thu, 23 Aug 2012 09:48:00 -0000 [thread overview] Message-ID: <bug-54355-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54355 Bug #: 54355 Summary: ICE on invalid code in switch statement Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned@gcc.gnu.org ReportedBy: jay.foad@gmail.com Created attachment 28067 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28067 test case On the attached test case I get: $ cc1 reduced.c f reduced.c: In function 'f': reduced.c:5:1: error: a label can only be part of a statement and a declaration is not a statement a b > ^ reduced.c:5:1: error: unknown type name 'a' reduced.c:5:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before '>' token a b > ^ reduced.c:5:5: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. I'm using trunk revision 190616 on x86_64-unknown-linux-gnu. Credit: test case was reduced by C-Reduce: http://embed.cs.utah.edu/creduce/
next reply other threads:[~2012-08-23 9:48 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-08-23 9:48 jay.foad at gmail dot com [this message] 2012-08-23 11:22 ` [Bug c/54355] " jakub at gcc dot gnu.org 2012-08-23 11:24 ` jakub at gcc dot gnu.org 2012-08-23 11:57 ` jakub at gcc dot gnu.org 2012-08-24 21:45 ` jakub at gcc dot gnu.org 2013-03-22 14:43 ` jakub at gcc dot gnu.org 2013-05-31 10:58 ` jakub at gcc dot gnu.org 2013-10-16 9:51 ` jakub at gcc dot gnu.org 2013-10-17 20:17 ` mpolacek at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-54355-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).