This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33268] read ('(f3.3)'), a rejected due to the extra (...)
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Oct 2007 20:22:27 -0000
- Subject: [Bug fortran/33268] read ('(f3.3)'), a rejected due to the extra (...)
- References: <bug-33268-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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