This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
RE: transfer_array_intrinsic testcase failures (was Re: transfer_array_intrinsic failures)
- From: "THOMAS Paul Richard 169137" <paul dot richard dot thomas at cea dot fr>
- To: "Dominique Dhumieres" <dominiq at lps dot ens dot fr>, <fortran at gcc dot gnu dot org>, <thomas dot koenig at online dot de>
- Date: Mon, 27 Mar 2006 17:27:35 +0200
- Subject: RE: transfer_array_intrinsic testcase failures (was Re: transfer_array_intrinsic failures)
Thomas,
The consensus is that I was wrong! My apologies to you.
Lest anybody ascribe the wrongness incorrectly, this is where the difficulty arose:
> Result Value. If the physical representation of the result has the same
> length as that of SOURCE, the physical representation of the result is
> that of SOURCE. If the physical representation of the result is longer
> than that of SOURCE, the physical representation of the leading part is
> that of SOURCE and the remainder is processor dependent. If the physical
I took this literally:
I have size (result) = size (dest) but
the bytes transferred are min (size_bytes(SOURCE), size_bytes(DEST), SIZE*word_size(MOLD)).
Compliance is assured because the value of SIZE is over-ridden, if it is too large.
I am working on a patch to correct these issues.
Paul