https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111850
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Kewen Lin <li...@gcc.gnu.org>: https://gcc.gnu.org/g:f4156fbf7d6d641f8aade8028e87cf302350c3c0 commit r14-8201-gf4156fbf7d6d641f8aade8028e87cf302350c3c0 Author: Kewen Lin <li...@linux.ibm.com> Date: Thu Jan 18 00:00:52 2024 -0600 testsuite, rs6000: Adjust fold-vec-extract-char.p7.c [PR111850] As PR101169 comment #c4 shows, previsouly the addi count update on fold-vec-extract-char.p7.c covered a sub-optimal code gen issue. On trunk, pass fold-mem-offsets helps to recover the best code sequence, so this patch is to revert the count back to the original which matches the optimal addi count. PR testsuite/111850 gcc/testsuite/ChangeLog: * gcc.target/powerpc/fold-vec-extract-char.p7.c: Update the checking count of addi to 6.