https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127068
Bug ID: 127068
Summary: gcc.dg/pr122715.c FAILs
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
CC: odygrd at hotmail dot com
Target Milestone: ---
Target: sparc-*-*, i?86-*-*
The new gcc.dg/pr122715.c test FAILs on 32-bit SPARC and x86 in different ways:
* SPARC:
FAIL: gcc.dg/pr122715.c scan-tree-dump-times optimized "return x_" 2
* x86 (only with 32-bit-default compiler):
FAIL: gcc.dg/pr122715.c (test for excess errors)
FAIL: gcc.dg/pr122715.c scan-tree-dump-times optimized "return x_" 2
Excess errors:
gcc.dg/pr122715.c:8:1: warning: SSE vector return without SSE enabled changes
the ABI [-Wpsabi]
gcc.dg/pr122715.c:7:18: warning: SSE vector argument without SSE enabled
changes the ABI [-Wpsabi]
This most likely just needs -Wno-psabi.