https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121192
Bug ID: 121192
Summary: [15/16 regression]
gcc.c-torture/execute/pr110817-[13].c FAIL on SPARC
with -mcpu=ultrasparc3
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
CC: ebotcazou at gcc dot gnu.org
Target Milestone: ---
Target: sparc*-sun-solaris2.11
When building with a gcc that defaults to -mcpu=ultrasparc3, a couple of tests
FAIL on Solaris/SPARC, both 32 and 64-bit:
+FAIL: gcc.c-torture/execute/pr110817-1.c -O0 execution test
+FAIL: gcc.c-torture/execute/pr110817-3.c -O1 execution test
+FAIL: gcc.c-torture/execute/pr110817-3.c -O2 execution test
+FAIL: gcc.c-torture/execute/pr110817-3.c -O2 -flto execution test
+FAIL: gcc.c-torture/execute/pr110817-3.c -O2 -flto -flto-partition=none
execution test
+FAIL: gcc.c-torture/execute/pr110817-3.c -O3 -g execution test
+FAIL: gcc.c-torture/execute/pr110817-3.c -Os execution test
With gcc 14, those tests work fine, while gcc 15 shows the same failures.