[PATCH] fortran/50524 -- Check return status of resolving substring ref

Steve Kargl sgk@troutmask.apl.washington.edu
Sat Oct 15 22:40:00 GMT 2011


resolve_ref() calls resolve_substring() but failed to check
its return value.  This patch does the check.

2011-10-15  Steven G. Kargl  <kargl@gcc.gcu.org>

	* resolve.c (resolve_ref): Check return value of resolve_substring().

 
2011-10-15  Steven G. Kargl  <kargl@gcc.gcu.org>

	* gfortran.dg/substring_integer_index.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: substring.diff
Type: text/x-diff
Size: 813 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20111015/67f86d20/attachment.bin>


More information about the Fortran mailing list