[PATCH] PR fortran/103588 - ICE: Simplification error in gfc_ref_dimen_size, at fortran/array.c:2407

Harald Anlauf anlauf@gmx.de
Mon Dec 6 22:39:47 GMT 2021


Dear all,

using a bad expression as stride in a subsequent array section did
lead to an internal error which was directly invoked after the
failure.  We better return a failure code to let error recovery
do its expected job.

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

Thanks,
Harald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fortran-catch-failed-simplification-of-bad-stride-ex.patch
Type: text/x-patch
Size: 1953 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211206/885528f8/attachment.bin>


More information about the Gcc-patches mailing list