http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56735
--- 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) > -test.nam > ? > > $temp 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!