[PATCH] Fortran : ICE in gfc_check_pointer_assign PR95612

Mark Eggleston mark.eggleston@codethink.co.uk
Fri Jul 10 07:24:20 GMT 2020


ping

On 01/07/2020 07:12, 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  <kargl@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 <markeggleston@gcc.gnu.org>
>
> gcc/testsuite/
>
>     PR fortran/95612
>     * gfortran.dg/pr95612.f90: New test.
>
-- 
https://www.codethink.co.uk/privacy.html



More information about the Gcc-patches mailing list