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