[Bug libfortran/49791] [4.4/4.5/4.6/4.7 Regression] Formatted namelist reads fails with: Cannot match namelist object

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 22 13:51:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49791

--- Comment #11 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-07-22 13:49:59 UTC ---
After reviewing the listread.c and the test case I see that the touched should
have nothing to do with this test case since the case has nothing to do with
derived types.

I think the flaw is that touched should be combined with BT_DERIVED if used
here at all. This leads me to believe we are missing a parenthesis around
BT_DERIVED and touched and they should be ANDed in some manner..

Tobias patch is probably safe, but it may be possible to dream up a test case
with derived types that will fail. (There is probably one buried in my archives
but finding it would be a chore)



More information about the Gcc-bugs mailing list