[PATCH] Fortran: fix passing of component ref to assumed-rank dummy [PR118683]

Harald Anlauf anlauf@gmx.de
Tue Jan 28 20:49:48 GMT 2025


Dear all,

the attached simple and obvious patch fixes an issue found when running
a UBSAN instrumented compiler on a recent testcase, see PR.  Also
verified when running f951 under gdb on that testcase.

I intend to commit within the next 24 hours unless there are comments.

Regtested on x86_64-pc-linux-gnu.

Will also backport to 14-branch, which has the same code.

Thanks,
Harald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr118683.diff
Type: text/x-patch
Size: 1294 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20250128/ab056893/attachment-0001.bin>


More information about the Fortran mailing list