• fxcoudert's avatar
    PR libfortran/20179 · 2488b3b6
    fxcoudert authored
    	* 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.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106017 138bc75d-0d04-0410-961f-82ee72b054a4
    2488b3b6
ChangeLog 134 KB