https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114175
--- Comment #31 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I think arm is unaffected as well, while it does pass the hidden return pointer in a register normally used for first argument, that argument should return 0 for arm_needs_doubleword_align