------- Comment #5 from burnus at gcc dot gnu dot org  2010-04-13 05:40 -------
(In reply to comment #4)
> Looking at latest gfortran, we have raw_init and buf_init functions which set
> the style of I/O.  I think it would be relatively easy now to create a Gnu
> extension as an intrinsic procedure call that will force a flush on a unit

The question is whether it needs to be some easily accessible intrinsic
function or whether some __gfortran_set_* would be enough; cf.
http://gcc.gnu.org/onlinedocs/gfortran/Non_002dFortran-Main-Program.html

The latter, which just sets a variable would be also an option. Actually, one
could think of adding an item to _gfortran_set_options


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37355

Reply via email to