[Bug fortran/50407] compiler confused by .operator.
zeccav at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Sep 16 08:03:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50407
--- Comment #11 from Vittorio Zecca <zeccav at gmail dot com> 2011-09-16 07:22:09 UTC ---
If you add
character(9) s
s=2.ip.8
gfortran, and g95, compile successfully.
On the contrary gfortran fails to parse
write(6,fmt=2.ip.8)
To me, it looks like the parser does not handle correctly the format
specification as a default-char-expression defined in fortran 95 R913
By the way, the following fails as well, should I open a new bug?
write(6,fmt=1_'()')
Again, in my opinion, recursive I/O, allowed or not, has nothing to do with
parsing format specifications.
More information about the Gcc-bugs
mailing list