[Bug fortran/33268] read ('(f3.3)'), a rejected due to the extra (...)
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Oct 6 20:22:00 GMT 2007
------- Comment #6 from jvdelisle at gcc dot gnu dot org 2007-10-06 20:22 -------
Reply to comment #2: After studying this some more.
Note that the first form of the READ has a non optional left paren. This means
that as soon as one sees a left paren right after READ that we must be in
io-control-spec-list form.
The PRINT statement is valid because the first entity after the PRINT, must
always be a format expression, parens do not matter in the same way.
I am going to vote that this bug is invalid. IFORT and Sun F95 also reject
this.
I will post to comp.lang.fortran for an interpretation.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33268
More information about the Gcc-bugs
mailing list