https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69519
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Target Milestone|--- |10.0 Keywords| |missed-optimization Severity|normal |enhancement Resolution|--- |FIXED Known to work| |10.1.0, 11.1.0 See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=91154 Known to fail| |9.4.0 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- 10+ produce: fn1(): subl $28, %esp movq a, %xmm0 movq b, %xmm1 pxor %xmm0, %xmm1 movq %xmm0, 8(%esp) movq %xmm1, a call fn2() movq 8(%esp), %xmm0 movq %xmm0, a addl $28, %esp ret Most likely done by the work for PR 91154.