[PATCH] PR fortran/103392 - [9/10/11/12 Regression] ICE in simplify_bound, at fortran/simplify.c:4273

Harald Anlauf anlauf@gmx.de
Tue Nov 23 20:46:49 GMT 2021


Dear all,

in simplify_bound we did hit an assert when trying to simplify
LBOUND/UBOUND for arrays with allocatable or pointer attribute.

We cannot do that.  Terminate simplification in that situation.

Regtested on x86_64-pc-linux-gnu.  OK for mainline/affected branches?

Thanks,
Harald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fortran-do-not-attempt-simplification-of-LU-BOUND-fo.patch
Type: text/x-patch
Size: 2247 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211123/44217922/attachment.bin>


More information about the Gcc-patches mailing list