[Bug fortran/51825] Fortran runtime error: Cannot match namelist object name
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51825 --- Comment #7 from Jerry DeLisle jvdelisle at gcc dot gnu.org 2013-04-29 00:55:08 UTC --- Back port due to silent wrong code. Author: jvdelisle Date: Mon Apr 29 00:52:23 2013 New Revision: 198385 URL: http://gcc.gnu.org/viewcvs?rev=198385root=gccview=rev Log: 2013-04-28 Jerry DeLisle jvdeli...@gcc.gnu.org Backport from mainline: 2013-03-20 Tilo Schwarz t...@tilo-schwarz.de PR libfortran/51825 * io/list_read.c (nml_read_obj): Don't end the component loop on a nested derived type, but continue with the next loop iteration. (nml_get_obj_data): Don't move the first_nl pointer further in the list if a qualifier was found. PR fortran/51825 * gfortran.dg/namelist_77.f90: New test. * gfortran.dg/namelist_78.f90: New test. Added: branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/namelist_77.f90 branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/namelist_78.f90 Modified: branches/gcc-4_8-branch/gcc/testsuite/ChangeLog branches/gcc-4_8-branch/libgfortran/ChangeLog branches/gcc-4_8-branch/libgfortran/io/list_read.c
[Bug fortran/51825] Fortran runtime error: Cannot match namelist object name
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51825 --- Comment #8 from Jerry DeLisle jvdelisle at gcc dot gnu.org 2013-04-29 01:27:05 UTC --- Author: jvdelisle Date: Mon Apr 29 01:25:43 2013 New Revision: 198386 URL: http://gcc.gnu.org/viewcvs?rev=198386root=gccview=rev Log: 2013-04-28 Jerry DeLisle jvdeli...@gcc.gnu.org Backport from mainline: 2013-03-20 Tilo Schwarz t...@tilo-schwarz.de PR libfortran/51825 * io/list_read.c (nml_read_obj): Don't end the component loop on a nested derived type, but continue with the next loop iteration. (nml_get_obj_data): Don't move the first_nl pointer further in the list if a qualifier was found. PR fortran/51825 * gfortran.dg/namelist_77.f90: New test. * gfortran.dg/namelist_78.f90: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/namelist_77.f90 branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/namelist_78.f90 Modified: branches/gcc-4_7-branch/gcc/testsuite/ChangeLog branches/gcc-4_7-branch/libgfortran/ChangeLog branches/gcc-4_7-branch/libgfortran/io/list_read.c Really closed now.
[Bug fortran/51825] Fortran runtime error: Cannot match namelist object name
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51825 Jerry DeLisle jvdelisle at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED --- Comment #6 from Jerry DeLisle jvdelisle at gcc dot gnu.org 2013-03-30 03:13:27 UTC --- Fixed on trunk, lets close this one and will carry forward on 56660.
[Bug fortran/51825] Fortran runtime error: Cannot match namelist object name
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51825 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #5 from Tobias Burnus burnus at gcc dot gnu.org 2013-03-20 08:15:17 UTC --- Author: burnus Date: Wed Mar 20 07:56:02 2013 New Revision: 196806 URL: http://gcc.gnu.org/viewcvs?rev=196806root=gccview=rev Log: 2013-03-20 Tilo Schwarz t...@tilo-schwarz.de PR libfortran/51825 * io/list_read.c (nml_read_obj): Don't end the component loop on a nested derived type, but continue with the next loop iteration. (nml_get_obj_data): Don't move the first_nl pointer further in the list if a qualifier was found. 2013-03-20 Tilo Schwarz t...@tilo-schwarz.de PR libfortran/51825 * gcc/testsuite/gfortran.dg/namelist_77.f90: New. * gcc/testsuite/gfortran.dg/namelist_78.f90: New. Added: trunk/gcc/testsuite/gfortran.dg/namelist_77.f90 trunk/gcc/testsuite/gfortran.dg/namelist_78.f90 Modified: trunk/gcc/testsuite/ChangeLog trunk/libgfortran/ChangeLog trunk/libgfortran/io/list_read.c
[Bug fortran/51825] Fortran runtime error: Cannot match namelist object name
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51825 --- Comment #4 from Jerry DeLisle jvdelisle at gcc dot gnu.org 2012-02-15 17:08:51 UTC --- I have been working on this one. The order of the lines within the namelist file can cause the error to go away. I have also found that the read of the character string acutally completes OK. Its an elusive bug, but I am still working to isolate it. I o think we are leaving the chracer read in a wrong state. I will see if I can map it out.
[Bug fortran/51825] Fortran runtime error: Cannot match namelist object name
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51825 --- Comment #3 from Tobias Burnus burnus at gcc dot gnu.org 2012-02-06 21:55:33 UTC --- Seems to be related to PR 49791, though the patch in PR 49791 comment 19 does not help.
[Bug fortran/51825] Fortran runtime error: Cannot match namelist object name
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51825 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added Keywords||rejects-valid CC||burnus at gcc dot gnu.org, ||jvdelisle at gcc dot ||gnu.org --- Comment #1 from Tobias Burnus burnus at gcc dot gnu.org 2012-01-11 15:27:13 UTC --- Somehow a new NAMELIST issue was overdue ... Also fails with and without -std=f95 (which disabled extended reads) and with GCC 4.1 to 4.7. Thus, it is not a regression. Using NAG 5.1, the result is: Opening: error.in JUNK Closed: error.in Jerry, can you have a look?
[Bug fortran/51825] Fortran runtime error: Cannot match namelist object name
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51825 Jerry DeLisle jvdelisle at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2012-01-12 AssignedTo|unassigned at gcc dot |jvdelisle at gcc dot |gnu.org |gnu.org Ever Confirmed|0 |1 --- Comment #2 from Jerry DeLisle jvdelisle at gcc dot gnu.org 2012-01-12 00:11:05 UTC --- yes, I will look. This has become a tradition. ;)