This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/33268] read ('(f3.3)'), a rejected due to the extra (...)



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]