This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33189] read(blah, fmt=*) is accepted, but read(blah, '*') not.
- From: "toon at moene dot indiv dot nluug dot nl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Aug 2007 16:52:17 -0000
- Subject: [Bug fortran/33189] read(blah, fmt=*) is accepted, but read(blah, '*') not.
- References: <bug-33189-109@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from toon at moene dot indiv dot nluug dot nl 2007-08-25 16:52 -------
Ah, but then the question becomes:
Why is this not valid ?
CHARACTER*10 a
a = '15'
READ(a, '(*)') i
PRINT*,i
END
33189.f:3.72:
READ(a, '(*)') i
1
Error: Unexpected element in format string at (1)
Cheers,
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33189