[PATCH] Fortran: fix "unstable" interfaces of external procedures [PR122206]
Harald Anlauf
anlauf@gmx.de
Thu Oct 9 16:50:31 GMT 2025
Dear All,
the attached simple patch fixes a rather strange bug, where the
used interface of external procedures apparently changed between
successive procedure calls. It is funny that this was not discovered
before, but the issue started only after the *first* time the dummy
arguments of the affected procedures were processed.
Regtested on x86_64-pc-linux-gnu. OK for mainline?
It appears that this issue exists since at least gcc-8.
Therefore I would like to backport to at least 15-branch.
Thanks,
Harald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr122206.diff
Type: text/x-patch
Size: 3614 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20251009/7e2ce098/attachment-0001.bin>
More information about the Fortran
mailing list