public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/39613] gcc 20090331 produces an error at mce64.c in kernel 2.6.29 Date: Tue, 07 Apr 2009 23:46:00 -0000 [thread overview] Message-ID: <20090407234614.6520.qmail@sourceware.org> (raw) In-Reply-To: <bug-39613-17402@http.gcc.gnu.org/bugzilla/> ------- Comment #8 from jsm28 at gcc dot gnu dot org 2009-04-07 23:46 ------- The expression is indeed not an integer constant expression and so not valid for a case label in ISO C. But I'll look at restricting the error in this case to a pedwarn-if-pedantic if the case label folds to an integer constant but is not an integer constant expression, to allow this code to continue to work. -- jsm28 at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |jsm28 at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2009-04-02 15:38:08 |2009-04-07 23:46:13 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39613
next prev parent reply other threads:[~2009-04-07 23:46 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-04-02 5:45 [Bug c/39613] New: " kdebugs at hotmail dot com 2009-04-02 5:47 ` [Bug c/39613] " kdebugs at hotmail dot com 2009-04-02 14:01 ` hjl dot tools at gmail dot com 2009-04-02 14:06 ` hjl dot tools at gmail dot com 2009-04-02 15:36 ` hjl dot tools at gmail dot com 2009-04-02 15:38 ` hjl dot tools at gmail dot com 2009-04-02 15:48 ` hjl dot tools at gmail dot com 2009-04-02 18:24 ` kdebugs at hotmail dot com 2009-04-02 18:26 ` kdebugs at hotmail dot com 2009-04-04 17:26 ` happyarch at gmail dot com 2009-04-07 23:46 ` jsm28 at gcc dot gnu dot org [this message] 2009-04-09 0:20 ` jsm28 at gcc dot gnu dot org 2009-04-09 0:21 ` jsm28 at gcc dot gnu dot org 2009-04-09 21:20 ` hjl at gcc dot gnu dot 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=20090407234614.6520.qmail@sourceware.org \ --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).