From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6557 invoked by alias); 7 Apr 2009 23:46:24 -0000 Received: (qmail 6521 invoked by uid 48); 7 Apr 2009 23:46:14 -0000 Date: Tue, 07 Apr 2009 23:46:00 -0000 Message-ID: <20090407234614.6520.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/39613] gcc 20090331 produces an error at mce64.c in kernel 2.6.29 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jsm28 at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-04/txt/msg00688.txt.bz2 ------- 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