------- Comment #4 from jvdelisle at gcc dot gnu dot org 2010-04-13 04:10 ------- 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 and then call raw_init or buf_init based on some parameter passed to the procedure. We would have to make sure the unit has the lock when doing this. We also have to make sure we have no pending asynchronous I/O happening. In other words, we force a WAIT as well.
I will assign myself to this as a reminder. I may not get to it, so if someone else wishes to do so, take it. -- jvdelisle at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |jvdelisle at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2008-09-11 19:30:14 |2010-04-13 04:10:43 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37355