On Thu, Mar 01, 2018 at 09:44:57PM +0100, Thomas Koenig wrote:
> Hi Steve,
>
> > 2018-02-26 Steven G. Kargl
> >
> > PF fortran/51434
> > * simplify.c (gfc_simplify_transfer): Reduce mold.
>
> I think this should be "Resolve" (at least that is what your
> patch shows).
>
> OK for trun
Hi Steve,
2018-02-26 Steven G. Kargl
PF fortran/51434
* simplify.c (gfc_simplify_transfer): Reduce mold.
I think this should be "Resolve" (at least that is what your
patch shows).
OK for trunk, thanks for the patch!
Regards
Thomas
All,
The attached patch fixes an ICE that occurs in gfc_simplify_tranfer.
The code that causes the problem is
if (!gfc_is_constant_expr (source)
|| (gfc_init_expr_flag && !gfc_is_constant_expr (mold))
|| !gfc_is_constant_expr (size))
return NULL;
in particular gfc_is_consta