From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12475 invoked by alias); 1 Sep 2009 14:54:58 -0000 Received: (qmail 12464 invoked by uid 22791); 1 Sep 2009 14:54:57 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Sep 2009 14:54:52 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n81Esol5024830; Tue, 1 Sep 2009 10:54:50 -0400 Received: from stone.twiddle.home (vpn-8-198.rdu.redhat.com [10.11.8.198]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n81EsmlQ011370; Tue, 1 Sep 2009 10:54:49 -0400 Message-ID: <4A9D35B7.9070705@redhat.com> Date: Tue, 01 Sep 2009 14:54:00 -0000 From: Richard Henderson User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: Jean Christophe Beyler CC: Ian Lance Taylor , gcc@gcc.gnu.org Subject: Re: Bit fields References: <4A9C345E.2030600@redhat.com> <4A9C4029.2070205@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-09/txt/msg00011.txt.bz2 On 08/31/2009 07:20 PM, Jean Christophe Beyler wrote: > Ok, is it normal to see a ashift with a negative value though or is > this already sign of a (potentially) different problem? I seem to recall that it's normal. Combine was originally written in the days of VAX, where negative shifts were allowed. You'll just want to reject them in your patterns. r~