r198370 - in /branches/gcc-4_8-branch: gcc/test...

jvdelisle@gcc.gnu.org jvdelisle@gcc.gnu.org
Sun Apr 28 13:47:00 GMT 2013


Author: jvdelisle
Date: Sun Apr 28 13:47:42 2013
New Revision: 198370

URL: http://gcc.gnu.org/viewcvs?rev=198370&root=gcc&view=rev
Log:
2013-04-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	Backport from mainline:

	PR libfortran/56786
	* io/list_read.c (nml_parse_qualifier): Remove spurious next_char call
	when checking for EOF. Use error return mechanism when EOF detected.
	Do not return FAILURE unless parse_err_msg and parse_err_msg_size have
	been set. Use hit_eof.
	(nml_get_obj_data): Likewise use the correct error mechanism.
	* io/transfer.c (hit_eof): Do not set AFTER_ENDFILE if in namelist
	mode.

	PR fortran/56786
	* gfortran.dg/namelist_81.f90:  New test.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/namelist_81.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
    branches/gcc-4_8-branch/libgfortran/io/transfer.c



More information about the Gcc-cvs mailing list