https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101169
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.4 Keywords| |missed-optimization Known to work| |10.3.0 Known to fail| |10.3.1, 11.1.0, 12.0 CC| |dje at gcc dot gnu.org --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Can you check why/whether this does not happen with GCC 11+? What fixed it there? Ah, I see commit 994fb69ac1b7d52348e84a021c07b24e285294d0 Author: David Edelsohn <dje....@gmail.com> Date: Sun Jan 17 19:33:04 2021 -0500 testsuite: powerpc fold-vec and sse updates. Recent code generation changes have affected the count of some instructions. This patch updates the instruction count for fold-vec-extract on P7 and P8. Also, some of SSE emulation intrinsics only work on LE systems. gcc/testsuite/ChangeLog: * gcc.target/powerpc/fold-vec-extract-char.p7.c: Adjust addi count. which adjusted it to 9 ... so the same thing happens there. So it must be fine for you.