ping

On 01/07/2020 07:56, Mark Eggleston wrote:
Please find attached a patch to fix PR95981.  Original patch by Steve Kargl.

OK to commit and backport?

Commit message:

Fortran  :  ICE in gfc_find_array_ref(): No ref found PR95981

When looking for an array reference allow NULL references.  If
no array reference is found dim_rank_check should return false.

2020-07-01  Steven G. Kargl  <ka...@gcc.gnu.org>

gcc/fortran/

    PR fortran/95981
    * check.c (dim_rank_check): Allow NULL references in call to
    gfc_find_array_ref and return false if no reference is found.

2020-07-01  Mark Eggleston <markeggles...@gcc.gnu.org>

gcc/testsuite/

    PR fortran/95981
    * gfortran.dg/pr95981.f90: New test.

--
https://www.codethink.co.uk/privacy.html

Reply via email to