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

Janus Weil janus@gcc.gnu.org
Sun Oct 16 08:34:00 GMT 2011


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



More information about the Fortran mailing list