]> gcc.gnu.org Git - gcc.git/commit
re PR libfortran/20179 (cannot mix C and Fortran I/O)
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>
Sun, 30 Oct 2005 12:48:52 +0000 (13:48 +0100)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 30 Oct 2005 12:48:52 +0000 (12:48 +0000)
commit159840cb8aef55bf2f4068f109ad6f987f31abeb
treebc65843092bd8c38d837724dae7a759a0d4c5e3e
parent0d519038a0354f983534037fd9a7d460421e4fd0
re PR libfortran/20179 (cannot mix C and Fortran I/O)

PR libfortran/20179
* io/unix.c (flush_if_preconnected): New function.
* io/io.h: Add prototype for flush_if_preconnected.
* io/transfer.c (data_transfer_init): Use flush_if_preconnected
to workaround buggy mixed C-Fortran code.

* gfortran.dg/mixed_io_1.f90: New test.
* gfortran.dg/mixed_io_1.c: New file.

From-SVN: r106017
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/mixed_io_1.c [new file with mode: 0644]
gcc/testsuite/gfortran.dg/mixed_io_1.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/io/io.h
libgfortran/io/transfer.c
libgfortran/io/unix.c
This page took 0.058106 seconds and 5 git commands to generate.