This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/20179] cannot mix C and Fortran I/O
- From: "stevenj at fftw dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Feb 2005 23:17:51 -0000
- Subject: [Bug libfortran/20179] cannot mix C and Fortran I/O
- References: <20050223193435.20179.stevenj@fftw.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20179