https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to jcldc13 from comment #2)
> 
> (In reply to Richard Biener from comment #1)
> > 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.
> 
> What do you mean ?
> It can not work on aarch64 architecture or not at all architecture ?
> 
> Because I am working on a project, for many years, mixing f77 and c code,
> which is compiling/running fine on x86-64 arch but not anymore on arm arch.

I mean you have been lucky with the x86-64 ABI.  Your code is not conforming.

The F77 code assumes a C function declared as

int test_va_arg_f3();

Reply via email to