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

Jerry DeLisle jvdelisle@frontier.com
Tue Oct 26 04:42: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: 1540 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101026/0e54117a/attachment.bin>


More information about the Gcc-patches mailing list