OK to commit and backport.

On 6/30/20 11:12 PM, Mark Eggleston wrote:
Please find attached a patch which is a fix for PR95612.  The original patch is by Steve Kargl.

OK to commit and backport?

Commit message:

Fortran  : ICE in gfc_check_pointer_assign PR95612

Output an error if the right hand value is a zero sized array or
does not have a symbol tree otherwise continue checking.

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

gcc/fortran/

    PR fortran/95612
    * expr.c (gfc_check_pointer_assigb): Output an error if
    rvalue is a zero sized array or output an error if rvalue
    doesn't have a symbol tree.

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

gcc/testsuite/

    PR fortran/95612
    * gfortran.dg/pr95612.f90: New test.


Reply via email to