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/24305] Complex(10) formatted IO is broken.



------- Comment #3 from jb at gcc dot gnu dot org  2005-11-06 18:28 -------
Subject: Bug 24305

Author: jb
Date: Sun Nov  6 18:28:22 2005
New Revision: 106563

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106563
Log:
gfortran ChangeLog

2005-11-06  Janne Blomqvist <jb@gcc.gnu.org>

        PR fortran/24174
        PR fortran/24305
        * fortran/trans-io.c (gfc_build_io_library_fndecls): Add kind
        argument to transfer_array.
        (transfer_array_desc): Add kind argument.

testsuite ChangeLog:

2005-11-06  Janne Blomqvist <jb@gcc.gnu.org>

        PR fortran/24174
        PR fortran/24305
        * testsuite/gfortran.dg/large_real_kind_form_io_1.f90: New file.

libgfortran Changelog:

2005-11-06  Janne Blomqvist <jb@gcc.gnu.org>

        PR fortran/24174
        PR fortran/24305
        * io/io.h: Add argument to prototypes, add prototypes for
        size_from_*_kind functions.
        * io/list_read.c (read_complex): Add size argument, use
        it. 
        (list_formatted_read): Add size argument, cleanup.
        (list_formatted_read_scalar): Add size argument.
        (nml_read_obj): Fix for padding.
        * io/transfer.c: Add argument to transfer function pointer.
        (unformatted_read): Add size argument.
        (unformatted_write): Likewise.
        (formatted_transfer_scalar): Fix for padding with complex(10).
        (formatted_transfer): Add size argument, cleanup.
        (transfer_integer): Add size argument to transfer call.
        (transfer_real): Likewise.
        (transfer_logical): Likewise.
        (transfer_character): Likewise.
        (transfer_complex): Likewise.
        (transfer_array): New kind argument, use it.
        (data_transfer_init): Add size argument to formatted_transfer
        call.
        (iolength_transfer): Add size argument, cleanup.
        * io/write.c (write_complex): Add size argument, fix for padding
        with complex(10).
        (list_formatted_write): Add size argument, cleanup.
        (list_formatted_write_scalar): Add size argument, use it.
        (nml_write_obj): Fix for size vs. kind issue.
        * io/size_from_kind.c: New file.
        * Makefile.am: Add io/size_from_kind.c.
        * configure: Regenerate.
        * Makefile.in: Regenerate.


Added:
    trunk/gcc/testsuite/gfortran.dg/large_real_kind_form_io_1.f90
    trunk/libgfortran/io/size_from_kind.c
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-io.c
    trunk/gcc/testsuite/ChangeLog
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/Makefile.am
    trunk/libgfortran/Makefile.in
    trunk/libgfortran/configure
    trunk/libgfortran/io/io.h
    trunk/libgfortran/io/list_read.c
    trunk/libgfortran/io/transfer.c
    trunk/libgfortran/io/write.c


-- 


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


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