Hi Steve, > resolve_ref() calls resolve_substring() but failed to check > its return value. This patch does the check.
Looks pretty obvious. Please commit. Thanks for the patch, Janus > 2011-10-15 Steven G. Kargl <ka...@gcc.gcu.org> > > * resolve.c (resolve_ref): Check return value of resolve_substring(). > > > 2011-10-15 Steven G. Kargl <ka...@gcc.gcu.org> > > * gfortran.dg/substring_integer_index.f90: New test. >