[PATCH] Fortran: error recovery simplifying UNPACK for insufficient FIELD [PR107922]

Harald Anlauf anlauf@gmx.de
Thu Dec 1 20:25:30 GMT 2022


Dear all,

we did not properly handle the case of insufficient array-valued
FIELD when trying to simplify UNPACK and could run into a NULL
pointer dereference.  The fix is obvious.

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

Thanks,
Harald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr107922.diff
Type: text/x-patch
Size: 2271 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20221201/a141c414/attachment.bin>


More information about the Fortran mailing list