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 fortran/32678] [4.2, 4.1]GFortan works incorrectly when writing with FORMAT Tx



------- Comment #9 from jakub at gcc dot gnu dot org  2007-09-25 09:35 -------
Subject: Bug 32678

Author: jakub
Date: Tue Sep 25 09:35:35 2007
New Revision: 128748

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128748
Log:
        PR libgfortran/32678
        * io/transfer.c (formatted_transfer_scalar): Fix off by one error in
        calculation of pos and skips. Don't allow pending_spaces to go
        negative.

        PR fortran/32678
        * gfortran.dg/fmt_t_5.f90: New test.

Added:
    branches/redhat/gcc-4_1-branch/gcc/testsuite/gfortran.dg/fmt_t_5.f90
Modified:
    branches/redhat/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/redhat/gcc-4_1-branch/libgfortran/ChangeLog
    branches/redhat/gcc-4_1-branch/libgfortran/io/transfer.c


-- 


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


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