[Bug libfortran/20179] cannot mix C and Fortran I/O

stevenj at fftw dot org gcc-bugzilla@gcc.gnu.org
Thu Feb 24 13:29:00 GMT 2005

------- Additional Comments From stevenj at fftw dot org  2005-02-23 23:17 -------
Subject: Re:  cannot mix C and Fortran I/O

On Wed, 23 Feb 2005, Thomas dot Koenig at online dot de wrote:
> Add "fflush(stdout);" at the end of cio.c, and things work
> as expected.

This is a workaround, but it would be nice to be able to mix C and Fortran 
code with I/O more seamlessly.  Is putting an fflush into a few strategic 
places in libgfortran that expensive that it overwhelms the benefit of 
seamless integration with stdio?



More information about the Gcc-bugs mailing list