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/37228] F2008: Support g0.<d> edit descriptor



------- Comment #2 from domob at gcc dot gnu dot org  2008-09-02 08:51 -------
Subject: Bug 37228

Author: domob
Date: Tue Sep  2 08:50:13 2008
New Revision: 139886

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139886
Log:
2008-09-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR fortran/37228
        * io.c (check_format): Allow specifying precision with g0 format.

2008-09-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libfortran/37301
        PR libfortran/37228
        * io/io.h (write_real_g0): Declare new function to handle g0.d format.
        * io/transfer.c (formatted_transfer_scalar): Use new function.
        * io/format.c (parse_format_list): Enable g0.d.
        * io/write.c (write_a_char4): Delete unused var.
        (set_fnode_default): New function to set the default fnode w, d, and e
        factored from write_real. (write_real): Use new factored function.
        (write_real_g0): New function that sets d to that passed by g0.d format
        specifier and set format to ES.  Default values for w and e are used
        from the new function, set_fnode_default.

2008-09-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR fortran/37228
        * gfortran.dg/fmt_g0_4.f08: Revised test.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/io.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/fmt_g0_4.f08
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/format.c
    trunk/libgfortran/io/io.h
    trunk/libgfortran/io/transfer.c
    trunk/libgfortran/io/write.c


-- 


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


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