This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/28309] New: -std=f2003 and call flush()
- From: "tobias dot burnus at physik dot fu-berlin dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jul 2006 06:58:26 -0000
- Subject: [Bug fortran/28309] New: -std=f2003 and call flush()
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
If I compile the program
-------------------
program test
write(*,*) 'Hello'
call flush()
end program test
-------------------
without options, it works.
However, using -std=f2003:
/tmp/cc4pdLnc.o: In function `MAIN__':
flush.f90:(.text+0x77): undefined reference to `flush_'
Expected: As flush is part of Fortran 2003, it should work.
--
Summary: -std=f2003 and call flush()
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tobias dot burnus at physik dot fu-berlin dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28309