https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |rguenth at gcc dot gnu.org Target| |aarch64 Resolution|--- |INVALID --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- I don't think you can do this in F77, you need to properly use iso_c99 bindings. You likely get the "unprototyped" call ABI which differs from varargs.