From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30675 invoked by alias); 2 Apr 2009 15:36:20 -0000 Received: (qmail 30604 invoked by uid 48); 2 Apr 2009 15:36:03 -0000 Date: Thu, 02 Apr 2009 15:36:00 -0000 Message-ID: <20090402153603.30603.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: "hjl dot tools at gmail dot com" 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/msg00107.txt.bz2 ------- Comment #4 from hjl dot tools at gmail dot com 2009-04-02 15:36 ------- This is caused by revision 145254: http://gcc.gnu.org/ml/gcc-cvs/2009-03/msg00761.html extern unsigned int __invalid_size_argument_for_IOC; static long mce_ioctl(unsigned int cmd) { switch (cmd) { case (((2U) << (((0 +8)+8)+14)) | ((('M')) << (0 +8)) | (((1)) << 0) | (((((sizeof(int) == sizeof(int[1]) && sizeof(int) < (1 << 14)) ? sizeof(int) : __invalid_size_argument_for_IOC))) << ((0 +8)+8))): return 1; default: return 2; } } [hjl@gnu-16 rrs]$ ./145254/usr/bin/gcc -O -S pr39613.c pr39613.c: In function ‘mce_ioctl’: pr39613.c:5: error: case label does not reduce to an integer constant [hjl@gnu-16 rrs]$ -- hjl dot tools at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsm28 at gcc dot gnu dot org Last reconfirmed|0000-00-00 00:00:00 |2009-04-02 15:36:02 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39613