backport: re PR fortran/45532 (gfortran namelist read error)
2010-09-22 Jerry DeLisle <jvdelisle@gcc.gnu.org> Backport from mainline: PR libfortran/45532 * io/list_read.c (nml_get_obj_data): Set first_nl if the previous is NULL. From-SVN: r164546
This commit is contained in:
parent
2c589d117b
commit
55b19b39e8
|
@ -1,3 +1,10 @@
|
|||
2010-09-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
Backport from mainline:
|
||||
PR libfortran/45532
|
||||
* io/list_read.c (nml_get_obj_data): Set first_nl if the previous
|
||||
is NULL.
|
||||
|
||||
2010-09-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
Backport from mainline:
|
||||
|
|
|
@ -2731,10 +2731,11 @@ get_name:
|
|||
goto nml_err_ret;
|
||||
}
|
||||
|
||||
if (!component_flag)
|
||||
if (*pprev_nl == NULL || !component_flag)
|
||||
first_nl = nl;
|
||||
|
||||
root_nl = nl;
|
||||
|
||||
component_flag = 1;
|
||||
|
||||
c = next_char (dtp);
|
||||
|
|
Loading…
Reference in New Issue