[patch, libgfortran] PR 46010 - I/O: Namelist-reading bug

jvdelisle@frontier.com jvdelisle@frontier.com
Tue Oct 26 04:43:00 GMT 2010


Hi all,

The attached patch is simple and fairly safe.  It adds a couple of conditions to assure that nml_parse_qualifier sets the end index for the loop spec.  I will add the two test cases in the PR to our testsuite.

Regression tested on x86-64.  OK for trunk?

Jerry

2010-10-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

    PR libgfortran/46010
    * io/list_read.c (nml_parse_qualifier): Add additional conditions for
    setting the end index for loop specification. Fix some whitespace.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr46010.diff
Type: text/x-patch
Size: 1099 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20101026/0b73a62d/attachment.bin>


More information about the Fortran mailing list