This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52393] I/O: "READ format" statement with parenthesed default-char-expr
- From: "ian_harvey at bigpond dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 27 Feb 2012 10:30:32 +0000
- Subject: [Bug fortran/52393] I/O: "READ format" statement with parenthesed default-char-expr
- Auto-submitted: auto-generated
- References: <bug-52393-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52393
--- Comment #4 from Ian Harvey <ian_harvey at bigpond dot com> 2012-02-27 10:30:32 UTC ---
Maybe there's some additional cleverness going on then, because the following
equally contrived example:
PROGRAM ReadMeOne
IMPLICIT NONE
CHARACTER(10) :: var
READ ('(A)'), var
PRINT *, var
END PROGRAM ReadMeOne
which is again supposed to be the second form of read, when compiled with:
gfortran -Wall -std=f2003
appears to work!