From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19854 invoked by alias); 28 Mar 2007 17:26:31 -0000 Received: (qmail 19834 invoked by uid 22791); 28 Mar 2007 17:26:31 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 28 Mar 2007 18:26:19 +0100 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l2SHME14011977; Wed, 28 Mar 2007 13:22:14 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l2SHMC6l024605; Wed, 28 Mar 2007 13:22:12 -0400 Received: from medalla.sfbay.redhat.com (medalla.sfbay.redhat.com [192.168.28.19]) by potter.sfbay.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id l2SHMAd9027898; Wed, 28 Mar 2007 13:22:11 -0400 Received: from medalla.sfbay.redhat.com (localhost.localdomain [127.0.0.1]) by medalla.sfbay.redhat.com (8.12.11.20060308/8.12.10) with ESMTP id l2SHMANI006694; Wed, 28 Mar 2007 10:22:10 -0700 Received: (from rth@localhost) by medalla.sfbay.redhat.com (8.12.11.20060308/8.12.11/Submit) id l2SHMAWd006692; Wed, 28 Mar 2007 10:22:10 -0700 Date: Wed, 28 Mar 2007 17:52:00 -0000 From: Richard Henderson To: Brooks Moses Cc: gcc-patches@gcc.gnu.org, fortran@gcc.gnu.org Subject: Re: RFC: gfc_simplify_transfer implementation. Message-ID: <20070328172210.GB6617@redhat.com> Mail-Followup-To: Richard Henderson , Brooks Moses , gcc-patches@gcc.gnu.org, fortran@gcc.gnu.org References: <46098BB2.3080902@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46098BB2.3080902@codesourcery.com> User-Agent: Mutt/1.4.1i X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-03/txt/msg01888.txt.bz2 On Tue, Mar 27, 2007 at 02:25:06PM -0700, Brooks Moses wrote: > + if (kind == sizeof (char)) None of this is going to work properly when cross-compiling. See fold_view_convert_expr in fold-const.c for how this sort of thing ought to be done. r~