This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]