https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115355
--- Comment #8 from Kewen Lin <linkw at gcc dot gnu.org> --- (In reply to Peter Bergner from comment #5) > FYI, fails for me with gcc 12 and later and works with gcc 11. It also > fails with -O3 -mcpu=power10. Thanks for the information, bisection shows r12-4496 is the culprit commit, I just tested and confirmed Xionghu's latest patch for PR106069 also fixed this one. - latest rev. for his fix: https://inbox.sourceware.org/gcc-patches/20230210025952.1887696-1-xionghu...@tencent.com/, which was resent from https://inbox.sourceware.org/gcc-patches/37b57a54-f98e-96a3-edff-866c8aae4...@gmail.com/ - original thread and some discussions: https://inbox.sourceware.org/gcc-patches/20220808034247.2618809-1-xionghu...@tencent.com/ The latest rev. looked to me as (https://inbox.sourceware.org/gcc-patches/e8e69f0c-7f36-e671-6c3b-74401e4d8...@linux.ibm.com/), still looking forward to Segher's review and approval on this.