This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: transfer_array_intrinsic failures
- From: Thomas Koenig <Thomas dot Koenig at online dot de>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Paul Thomas <paulthomas2 at wanadoo dot fr>, Jack Howarth <howarth at bromo dot msbb dot uc dot edu>, fortran at gcc dot gnu dot org
- Date: Sun, 26 Mar 2006 20:45:25 +0200
- Subject: Re: transfer_array_intrinsic failures
- References: <44257550.9020004@wanadoo.fr> <200603252109.k2PL9Z427406@makai.watson.ibm.com>
On Sat, Mar 25, 2006 at 04:09:35PM -0500, David Edelsohn wrote:
> > There isn't one - these are new tests that pass on i686 systems/Linux
> > and Cygwin. Could you pass on the details, please? I will try to deal
> > with it as fast as possible.
>
> It appears to be broken on all big-endian architectures. Pinski
> mentioned on IRC that the problem may be the testcase and not the code
> generation.
>
> transfer_array_intrinsic_1.f90 fails on powerpc and s390.
> transfer_array_intrinsic_2.f90 fails on powerpc-aix as well.
>
> All execution failures.
Here's what ifort 8.0 has to say about the test cases:
$ ifort transfer_array_intrinsic_1.f90
fortcom: Error: transfer_array_intrinsic_1.f90, line 35: The shapes of the array expressions do not conform. [CMP]
cmp = transfer (z, cmp, 1) * 8.0
-----^
fortcom: Error: transfer_array_intrinsic_1.f90, line 79: The shapes of the array expressions do not conform. [CH]
ch(3:2:-1) = transfer (y, ch, 3)
-----^
fortcom: Error: transfer_array_intrinsic_1.f90, line 85: The shapes of the array expressions do not conform. [CH]
ch(1:2) = transfer (y, ch, 3)
-----^
compilation aborted for transfer_array_intrinsic_1.f90 (code 1)
$ ifort transfer_array_intrinsic_2.f90
fortcom: Warning: transfer_array_intrinsic_2.f90, line 6: The structure length is not a multiple of its largest element; could create misalignments for arrays of this type. [MYTYPE]
type mytype
----------^