From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 13779 invoked from network); 18 Aug 1999 06:01:31 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 18 Aug 1999 06:01:31 -0000 Received: from piglet.twiddle.net (root@piglet.twiddle.net [207.104.6.26]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id CAA15024 for ; Wed, 18 Aug 1999 02:01:30 -0400 Received: (from rth@localhost) by piglet.twiddle.net (8.8.7/8.8.7) id XAA29079 for axp-list@redhat.com; Tue, 17 Aug 1999 23:01:29 -0700 Date: Tue, 17 Aug 1999 23:01:29 -0700 From: Richard Henderson To: axp-list@redhat.com Subject: Re: compiling 2.2.12-final Message-ID: <19990817230129.B28886@twiddle.net> References: <199908171822.OAA08460@linux04.mro.dec.com> <199908171918.NAA27184@ellpspace.math.ualberta.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: <199908171918.NAA27184@ellpspace.math.ualberta.ca>; from Michal Jaegermann on Tue, Aug 17, 1999 at 01:18:25PM -0600 On Tue, Aug 17, 1999 at 01:18:25PM -0600, Michal Jaegermann wrote: > I got these with gcc-2.95 and 2.2.11-ac3 but these were warnings > and a kernel did compile and booted. The warnings are natural. They result from macro expansion of if (3 < 64) ... something << 3 else ... something else << (3 - 64) where the second never-to-be-executed statement has a negative shift count. The warning, unfortunately, doesn't consider such "obvious" non execute cases. The original report had a cc1 core dump though. r~