[PATCH] Fortran: fix "unstable" interfaces of external procedures [PR122206]

Jerry D jvdelisle2@gmail.com
Thu Oct 9 17:03:06 GMT 2025


On 10/9/25 9:50 AM, Harald Anlauf wrote:
> 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
> 

Yes, OK and thanks for the quick fix.

Jerry


More information about the Fortran mailing list