[PATCH, committed] Fortran: ICE in transformational_result [PR108529]

Harald Anlauf anlauf@gmx.de
Tue Jan 24 20:47:31 GMT 2023


Dear all,

we ICE'd in the simplification of the transformational intrinsic
ANY when the passed ARRAY argument had an invalid declaration.
The reason was a reference to array->shape which was NULL.

Obvious solution: then just don't attempt to simplify.

Regtested on x86_64-pc-linux-gnu and pushed to mainline as

https://gcc.gnu.org/g:6c96382eed96a9285611f2e3e2e59557094172b8

The PR is marked as a 10/11/12/13 regression, thus I plan to
backport.

Thanks,
Harald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr108529.diff
Type: text/x-patch
Size: 1684 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20230124/b8dd87ed/attachment.bin>


More information about the Gcc-patches mailing list