From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22051 invoked by alias); 11 Nov 2008 16:09:45 -0000 Received: (qmail 528 invoked by uid 48); 11 Nov 2008 16:08:20 -0000 Date: Tue, 11 Nov 2008 16:09:00 -0000 Message-ID: <20081111160820.527.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/35366] [4.4 Regression] gfortran.dg/equiv_7.f90 fails with -m64 -Os on powerpc-apple-darwin9 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jv244 at cam dot ac dot uk" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-11/txt/msg00813.txt.bz2 ------- Comment #3 from jv244 at cam dot ac dot uk 2008-11-11 16:08 ------- just a note on the patch posted: http://gcc.gnu.org/ml/gcc-patches/2008-11/msg00407.html the fortran standard guarantees that E==TRANSFER(TRANSFER(E,D),E) if the physical representation of D and E is the same length. At the same time, it guarantees that a default logical and a default integer can be storage associated e.g. in a common block (talking about physical storage units). The wording seems somewhat imprecise, but I think it guarantees that the above transfer should work with integer and logical -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35366