[Bug fortran/33189] read(blah, fmt=*) is accepted, but read(blah, '*') not.
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Aug 25 16:20:00 GMT 2007
------- Comment #2 from jvdelisle at gcc dot gnu dot org 2007-08-25 16:20 -------
>From 9.4.1
R913 format is default-char-expr
or label
or ∗
>From 10.1.2
A character expression used as a format specifier in a formatted
input/output statement shall evaluate to a character string whose leading part
is a valid format specification.
NOTE 10.2
The format specification begins with a left parenthesis and ends with a
right parenthesis.
IMHO This is invalid.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33189
More information about the Gcc-bugs
mailing list