This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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=198385&root=gcc&view=rev
Log:
2013-04-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

    Backport from mainline:
    2013-03-20  Tilo Schwarz  <tilo@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]