This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/25039] broken formatted I/O
- 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: 29 Nov 2005 01:55:18 -0000
- Subject: [Bug libfortran/25039] broken formatted I/O
- References: <bug-25039-11486@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from kargl at gcc dot gnu dot org 2005-11-29 01:55 -------
(In reply to comment #7)
> (In reply to comment #6)
> I'm not sure what the "correct" behavior is.
> But it is a fact that gfortran is the first
> compiler I have seen to respond with a runtime error,
> given this format and input. This is extract of a legacy
> code dating back to the sixtees (and Fortran IV)
> that has worked on any platform/compiler combination except
> gfortran.
So, every compiler you've used is broken :-)
I'm too busy at the moment to find the actual text in the standard,
but I'll believe the technical editor of the standard when he says
commas aren't allowed in this context.
http://gcc.gnu.org/ml/fortran/2005-11/msg00776.html
Jerry has been looking at "fixing" this problem. Your patch does
not issue an error or warning, which I believe Jerry is considering.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25039