This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/28309] -std=f2003 and call flush()
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jul 2006 18:23:18 -0000
- Subject: [Bug fortran/28309] -std=f2003 and call flush()
- References: <bug-28309-1719@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from kargl at gcc dot gnu dot org 2006-07-08 18:23 -------
FLUSH is not a subroutine in F2003. The FLUSH() subroutine extension
is excluded from the list of intrinsic procedures that gfortran
supplies when you set -std=f2003.
See the F2003 standard for the correct syntax. One example is
program test
open(unit=10,file='tmp')
write(10,*) 'Hello'
flush(10)
end program test
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28309