https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115977

            Bug ID: 115977
           Summary: [12/13 Regression] [sra] Regression targeting PowerPC
                    970
           Product: gcc
           Version: 12.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: awilfox at adelielinux dot org
  Target Milestone: ---
            Target: powerpc64-foxkit-linux-musl

Created attachment 58696
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58696&action=edit
Reduced test case

glm's test suite fails after r13-3378-gf6c168f8 (or its backport
r12-8913-g985a8962) when targeting PowerPC 64 with -mcpu=970 and
-fstack-protector.  I reduced it to the attached .cpp file which should return
0, but returns 4 after the given commit.  Using any other -mcpu, or passing
-fno-stack-protector, fixes the issue.

Reply via email to