From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13182 invoked by alias); 15 Mar 2004 22:24:05 -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 13172 invoked from network); 15 Mar 2004 22:24:03 -0000 Received: from unknown (HELO punt.aladdin.de) (195.124.73.2) by sources.redhat.com with SMTP; 15 Mar 2004 22:24:03 -0000 Received: by punt.aladdin.de; id XAA09699; Mon, 15 Mar 2004 23:26:34 +0100 Received: from caligula.groessler.org(10.23.1.2) by punt.aladdin.de via smap (3.2) id xma009697; Mon, 15 Mar 04 23:26:34 +0100 Received: from langhals (langhals.groessler.org [10.23.1.27]) by Caligula.groessler.org (8.12.10/8.12.9) with ESMTP id i2FMNik1000874; Mon, 15 Mar 2004 23:23:44 +0100 (CET) (envelope-from cpg@aladdin.de) Received: from langhals ([127.0.0.1] helo=langhals.aladdin.de) by langhals with esmtp (Exim 3.36 #1 (Debian)) id 1B30VN-0001Hz-00; Mon, 15 Mar 2004 23:24:17 +0100 To: Ian Lance Taylor Cc: GCC List Subject: Re: signed/unsigned right shift From: Christian Groessler Date: Mon, 15 Mar 2004 22:24:00 -0000 Message-ID: <87fzc93g1a.fsf@aladdin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-03/txt/msg00748.txt.bz2 On 03/15/2004 05:16:55 PM EST Ian Lance Taylor wrote: > >Christian Groessler writes: > >Your suggestion would be expressed as "The integer promotions preserve >value including signedness." Yes, that's how I read it erroneously. >K&R C was signedness preserving. ISO C is value preserving. A quick >Google search turned up this page on the topic: > http://ou800doc.caldera.com/SDK_cprog/_Background.html That's putting it to the point. Thanks to all who responded. regards, chris