From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5835 invoked by alias); 21 Apr 2008 12:39:23 -0000 Received: (qmail 5820 invoked by uid 22791); 21 Apr 2008 12:39:22 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 21 Apr 2008 12:39:03 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JnvIS-0001kf-HH for gcc-help@gcc.gnu.org; Mon, 21 Apr 2008 12:39:00 +0000 Received: from dslb-088-073-200-197.pools.arcor-ip.net ([88.73.200.197]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Apr 2008 12:39:00 +0000 Received: from monodhs by dslb-088-073-200-197.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Apr 2008 12:39:00 +0000 To: gcc-help@gcc.gnu.org From: =?UTF-8?B?Q2hyaXN0aWFuIELDtmhtZQ==?= Subject: Re: Integral conversions in C/C++ Date: Mon, 21 Apr 2008 14:18:00 -0000 Message-ID: References: <10044.4877906286$1208659138@news.gmane.org> <480B6D10.8050500@redhat.com> <480C5E80.1090803@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.13pre) Gecko/20070505 Iceape/1.0.9 (Debian-1.0.10~pre070720-0etch3+lenny1) In-Reply-To: <480C5E80.1090803@redhat.com> X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-04/txt/msg00316.txt.bz2 Andrew Haley wrote: > Section 5 Para. 9 That's talking about _relational_ operators and starts with "The usual arithmetic conversions are performed on operands of arithmetic or enumeration type." going on about pointer conversions ectpp. My example did, however, neither. Any more pointers ? > and Section 4.5. That's "Integral promotions" vs. 4.7 "Integral conversions" as in the subject of the OP. Cheers, Christian