[Bug libfortran/56786] [4.6/4.7/4.8/4.9 Regression] Namelist read fails with designators containing embedded spaces

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 1 00:05:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56786

--- Comment #1 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2013-04-01 00:05:14 UTC ---
Author: jvdelisle
Date: Sun Mar 31 20:32:33 2013
New Revision: 197290

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

    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 false 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.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/list_read.c
    trunk/libgfortran/io/transfer.c



More information about the Gcc-bugs mailing list