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/33189] read(blah, fmt=*) is accepted, but read(blah, '*') not.



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


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