------- Comment #6 from tobi at gcc dot gnu dot org 2007-09-02 18:48 ------- (In reply to comment #5) > (In reply to comment #4) > > > if the first item after the "(" is a default-char-expression > > > (constant or not) and there is no "...=" (e.g. "fmt=") in there, then it > > > is > > > also a "READ format" statement. > > > > This is wrong. In "READ(20) x", 20 is not a format but a unit number. > > I don't think that this is wrong: > I would argue that 20 is not a default-char-expression ;-)
Sorry, you're right of course. Unfortunately, the type can't be determined in all cases, so this criterion doesn't work. I tried. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33269