------- Comment #6 from burnus at gcc dot gnu dot org  2007-08-25 20:27 -------
      READ(a, '*') i

I think you mix this up with * (not '*') which is no character expression but
simply a single asterisk.

R914 format is default-char-expr
            or label
            or *

And "The default-char-expr shall evaluate to a valid format specification
(10.1.1 and 10.1.2)." The format specification does not contain the asterisk.

> If I change '*' to fmt=* the code is accepted.

Well, using * instead of '*' also works - similarly, fmt='*' does not.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33189

Reply via email to