From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22922 invoked by alias); 16 Dec 2001 21:57:43 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 22864 invoked from network); 16 Dec 2001 21:57:41 -0000 Received: from unknown (HELO monkey.daikokuya.demon.co.uk) (158.152.184.26) by sources.redhat.com with SMTP; 16 Dec 2001 21:57:41 -0000 Received: from neil by monkey.daikokuya.demon.co.uk with local (Exim 3.33 #1 (Debian)) id 16FjIx-00045r-00; Sun, 16 Dec 2001 21:58:43 +0000 Date: Sun, 16 Dec 2001 15:17:00 -0000 From: Neil Booth To: "Kaveh R. Ghazi" Cc: gcc-bugs@gcc.gnu.org, gcc@gcc.gnu.org Subject: Re: Strange sign-compare results Message-ID: <20011216215843.B15636@daikokuya.demon.co.uk> References: <200112162112.QAA24486@caip.rutgers.edu> <20011216215523.A15636@daikokuya.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011216215523.A15636@daikokuya.demon.co.uk> User-Agent: Mutt/1.3.23i X-SW-Source: 2001-12/txt/msg00880.txt.bz2 neil wrote:- > The others convert the unsigned operand to signed, and therefore the > result of the subtraction is signed. Ignore that last sentence; I didn't read your examples closely enough 8-) Neil.