https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102024
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dje at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- PowerPC seems to be (tried powerpc64le) affected as well on the same testcase, addi 2,2,.TOC.-.LCF0@l .localentry _Z3barv,.-_Z3barv mflr 0 - li 9,0 - sldi 9,9,32 - mtvsrd 1,9 + li 3,0 std 0,16(1) stdu 1,-32(1) .cfi_def_cfa_offset 32 .cfi_offset 65, 16 - xscvspdpn 1,1 - fmr 2,1 bl _Z3foo1S nop addi 1,1,32 seems to be the difference from C++ before my change to C++ after my change and the after my change matches what C did before and does now as well. So like for x86-64 psABI, the question is what the psABI says and what we should use and either way we need -Wpsabi warning for the case we'll change ABI for.