patch libfortran/37753

jvdelisle@verizon.net jvdelisle@verizon.net
Thu Oct 9 01:58:00 GMT 2008


Thomas Koenig wrote:
> Hello world,
>
> this fixes PR 37753, a 4.4 regression where we erroneously would write
> out strings in reverse when specifying CONVERT="SWAP" (or equivalent).
>
> Regression-tested on x86_64-pc-linux-gnu.  OK?
>
> 	Thomas
>
> 2008-10-08  Thomas Koenig  <tkoenig@gcc.gnu.org>
>
> 	PR libfortran/37753
> 	* io/transfer.c (unformatted_read):  CONVERT_NATIVE
> 	is the usual case.  Check for kind==1 for non-byte-reversing
> 	operation.
> 	(unformatted_write):  Likewise.
>
> 2008-10-08  Thomas Koenig  <tkoenig@gcc.gnu.org>
>
> 	PR libfortran/37753
> 	* gfortran.dg/convert_2.f90:  New test case.
>
OK, thanks,

Jerry



More information about the Fortran mailing list