[Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 12 20:39:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689
--- Comment #16 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Alan Modra from comment #12)
> A little more sophisticated.
>
> * fortran/trans-types.c (gfc_get_function_type): Use a varargs decl
> unless we have args other than hidden ones.
Without having looked at exactly what the patch does: This sounds wrong
to em. On platforms where varargs have a different calling
signature from normal functions, this would be an ABI change.
It would probably make more sense to build the decl from the call
itself.
More information about the Gcc-bugs
mailing list