------- 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