[PATCH] PR fortran/103778 - [10/11/12 Regression] ICE: Invalid expression in gfc_element_size

Harald Anlauf anlauf@gmx.de
Mon Dec 20 21:18:33 GMT 2021


Dear all,

again found by Gerhard: using a BOZ literal constant in situations
where an interoperable object is expected can lead to an ICE.
But obviously a BOZ in not interoperable.

Obvious patch, regtested on x86_64-pc-linux-gnu.

Will commit within 48h unless there are objections or better
suggestions.

Thanks,
Harald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fortran-BOZ-literal-constants-are-not-interoperable.patch
Type: text/x-patch
Size: 1560 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20211220/7b8a4849/attachment.bin>


More information about the Fortran mailing list