This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37355] Request runtime preconnected buffer option for gfortran
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Apr 2010 04:10:43 -0000
- Subject: [Bug fortran/37355] Request runtime preconnected buffer option for gfortran
- References: <bug-37355-9579@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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