[Bug fortran/56735] [4.6/4.7/4.8/4.9 Regression] Namelist Read Error with question marks
burnus at gcc dot gnu.org
Sat Mar 30 15:00:00 GMT 2013
--- Comment #8 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-03-30 15:00:11 UTC ---
The issue has been fixed on the 4.9 development branch - and it is scheduled
for backporting to the 4.6, 4.7 and 4.8 release branches.
See http://gcc.gnu.org/wiki/GFortranBinaries for regular nonofficial builds and
how to build GCC yourself.
(In reply to comment #0)
The "?" causes the problem. The "?" is rather pointless if the data is read
from a file - and for files read from stdin, it only outputs the available
items in the name list. Thus, a workaround is to either remove the "?" line, to
comment it out, or to change the "?" into "=?".
I don't know whether the workaround helps you - or updating to a fixed GCC
version. But in any case, I want to say sorry for the regression and thanks for
the bug report!
More information about the Gcc-bugs