[Bug libfortran/37753] [4.4 Regression] Convert="BIG_ENDIAN" reverses character

tkoenig at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Oct 9 19:31:00 GMT 2008



------- Comment #3 from tkoenig at gcc dot gnu dot org  2008-10-09 19:30 -------
Subject: Bug 37753

Author: tkoenig
Date: Thu Oct  9 19:28:58 2008
New Revision: 141008

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141008
Log:
2008-10-09  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-09  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR libfortran/37753
        * gfortran.dg/convert_2.f90:  New test case.


Added:
    trunk/gcc/testsuite/gfortran.dg/convert_2.f90
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/transfer.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37753



More information about the Gcc-bugs mailing list