This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/18985] opening unit 6 messes up print
- From: "schilds at sun dot ac dot za" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Aug 2008 08:31:39 -0000
- Subject: [Bug libfortran/18985] opening unit 6 messes up print
- References: <bug-18985-9515@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from schilds at sun dot ac dot za 2008-08-08 08:31 -------
What does Fortran 2003 have to do with legacy mode? Nothing. So far as I know
the GCC compiler is at odds with Solaris, Intel, Vax, you name it. All of these
allowed you to touch unit 6 without affecting the print*, (or write(*,*))
statement. The behaviour is therefore both unexpected and difficult to track
down (not even a warning).
This is a serious bug, make no mistake. It causes existing Fortran 77 code to
fail. It's wasted a lot of my time and, no doubt, a lot of other, good peoples'
too. The ubiquitousness of the print*, (or write(*,*)) statement makes fixing
this bug a priority.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18985