This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/49791] [4.4/4.5/4.6/4.7 Regression] Formatted namelist reads fails with: Cannot match namelist object
- From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 22 Jul 2011 13:50:59 +0000
- Subject: [Bug libfortran/49791] [4.4/4.5/4.6/4.7 Regression] Formatted namelist reads fails with: Cannot match namelist object
- Auto-submitted: auto-generated
- References: <bug-49791-4@http.gcc.gnu.org/bugzilla/>
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)