This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/28309] -std=f2003 and call flush()



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]