http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56735
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Status|NEW |ASSIGNED CC| |burnus at gcc dot gnu.org AssignedTo|unassigned at gcc dot |burnus at gcc dot gnu.org |gnu.org | Target Milestone|--- |4.6.4 --- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-03-28 12:42:51 UTC --- See http://gcc.gnu.org/onlinedocs/gfortran/Extensions-to-namelist.html for the description of the ? and =? extension. Actually, there are two bugs: a) With "?", no attempt is made to read the next item. That's a bug due to Jerry's patch for PR 47154 (http://gcc.gnu.org/r168502). Here, '?' was falling through to a "goto find_nml_name;" - but no longer after "case EOF:" was added. b) With "?", there is no output. Seemingly, a regression due to Janne's patch for PR 25561 (http://gcc.gnu.org/r135373). Here, a "if (!p)" got lost.