From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31201 invoked by alias); 29 Oct 2007 10:23:04 -0000 Received: (qmail 31192 invoked by uid 22791); 29 Oct 2007 10:23:03 -0000 X-Spam-Check-By: sourceware.org Received: from nz-out-0506.google.com (HELO nz-out-0506.google.com) (64.233.162.239) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 29 Oct 2007 10:23:02 +0000 Received: by nz-out-0506.google.com with SMTP id s1so1140698nze for ; Mon, 29 Oct 2007 03:23:00 -0700 (PDT) Received: by 10.114.120.1 with SMTP id s1mr6834145wac.1193653379416; Mon, 29 Oct 2007 03:22:59 -0700 (PDT) Received: by 10.114.132.5 with HTTP; Mon, 29 Oct 2007 03:22:59 -0700 (PDT) Message-ID: <302c6e640710290322pe18b04g73f994917fabbd81@mail.gmail.com> Date: Mon, 29 Oct 2007 10:25:00 -0000 From: kum To: "Andrew Haley" Subject: Re: 64 bit assignment on a 32 bit platform Cc: gcc-help@gcc.gnu.org In-Reply-To: <18213.45741.673599.312007@zebedee.pink> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <302c6e640710290307u3750341p8c5acaaaa3fe0323@mail.gmail.com> <18213.45741.673599.312007@zebedee.pink> 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: 2007-10/txt/msg00362.txt.bz2 Thanks Andrew Andrew>You have to cast at least one of the operands in a binary operation to Andrew> get the widening to anything wider than int. Is this true if int is 16 bits wide (i.e. 16 bit machine) and the l-value is 32 bits wide? Thanks, kumaresh