[PATCH] PR fortran/103217 & 103218 - ICEs during simplification after r12-4967-gbcf3728abe848888

Harald Anlauf anlauf@gmx.de
Tue Nov 9 20:21:17 GMT 2021


Dear all,

I'd like to commit the attached patch as obvious within the next 24 hours
unless anybody objects, or earlier if there is positive feedback.

The patch only fixes three obvious NULL pointer dereferences that were
latent before the referenced commit and exhibited in the testcases,
see PRs.

The submitted testcases in the PRs hint at unimplemented parts of the
F2018 standard in gfortran.  I consider it unlikely that these parts are
written before 12-release, so fixing the ICE is something that can be
done now.  After that, either the regression marker can be removed from
the PRs, or they are closed and the remaining issues moved to a new PR.

Regtested on x86_64-pc-linux-gnu.  Comments welcome.

Thanks,
Harald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fortran-avoid-NULL-pointer-dereferences.patch
Type: text/x-patch
Size: 1725 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211109/19cf8b38/attachment.bin>


More information about the Gcc-patches mailing list