[PATCH] PR fortran/95544 - ICE in gfc_can_put_var_on_stack, at fortran/trans-decl.c:494
Harald Anlauf
anlauf@gmx.de
Thu Jun 11 18:36:19 GMT 2020
Hi Thomas,
> one remark: Instead of
>
> + && !(strcmp(gfc_current_intrinsic, "associated") == 0
> + || strcmp(gfc_current_intrinsic, "null") == 0
> + || strcmp(gfc_current_intrinsic, "present") == 0))
>
> could you maybe test sym->id ?
>
> OK with that change.
done. See attached for the actual commit.
Thanks for the hint and the swift review!
Harald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr95544.patch
Type: text/x-patch
Size: 5754 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200611/fb632e4a/attachment.bin>
More information about the Gcc-patches
mailing list