This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r106017 - in /trunk: gcc/testsuite/ChangeLog gc...
- From: fxcoudert at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sun, 30 Oct 2005 12:48:53 -0000
- Subject: r106017 - in /trunk: gcc/testsuite/ChangeLog gc...
Author: fxcoudert
Date: Sun Oct 30 12:48:52 2005
New Revision: 106017
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106017
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/mixed_io_1.c
trunk/gcc/testsuite/gfortran.dg/mixed_io_1.f90
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/io.h
trunk/libgfortran/io/transfer.c
trunk/libgfortran/io/unix.c