From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26491 invoked by alias); 21 May 2006 08:21:56 -0000 Received: (qmail 26453 invoked by uid 48); 21 May 2006 08:21:50 -0000 Date: Sun, 21 May 2006 08:21:00 -0000 Message-ID: <20060521082150.26452.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/27449] transfer intrinsic does not work on strict aligned systems In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pault at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-05/txt/msg02014.txt.bz2 List-Id: ------- Comment #5 from pault at gcc dot gnu dot org 2006-05-21 08:21 ------- I have just realised that there is a simple fix for this. It is my use of the scalarizer to perform the actual transfer that is the source of the problem. One of you or Bo suggested using memcpy. That is what I will try. My understanding is that adding the memcpy to se->pre or post and having se->expr == NULL, should effect the transfer without generating a scalarizer loop. Would you be prepared to try a patch, in a day or two? Paul -- pault at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- GCC host triplet| |hppa64-hp-hpux11.11 GCC target triplet| |STRICT_ALGINED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27449