https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Note, it is wrong even on x86_64. For varargs functions, %rax needs to be number of floating point arguments in the ABI, but if called through K&R or Fortran unspecified arguments function type, nothing fills in %rax, so it will be some random value.