https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127167
Bug ID: 127167
Summary: [17 Regression] Recent RTL simplifications for complex
causing aarch64 testsuite regression
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: law at gcc dot gnu.org
Target Milestone: ---
This patch:
commit b085ae4b49b41e146c0a6a6c16c8c588438b9528
Author: Roger Sayle <[email protected]>
Date: Tue Aug 25 09:02:51 2026 -0500
PR target/48609: RTL simplifications for x86 complex arg passing.
Is causing a variety of regressions on aarch64:
Tests that now fail, but worked before (102 tests):
g++: gcc.target/aarch64/sve/acle/asm/dup_lane_bf16.c -std=gnu++98 -O2
-fno-schedule-insns -DCHECK_ASM --save-temps -DTEST_FULL check-function-bodies
dup_lane_0_bf16_tied1
g++: gcc.target/aarch64/sve/acle/asm/dup_lane_bf16.c -std=gnu++98 -O2
-fno-schedule-insns -DCHECK_ASM --save-temps -DTEST_FULL check-function-bodies
dup_lane_0_bf16_untied
g++: gcc.target/aarch64/sve/acle/asm/dup_lane_bf16.c -std=gnu++98 -O2
-fno-schedule-insns -DCHECK_ASM --save-temps -DTEST_OVERLOADS
check-function-bodies dup_lane_0_bf16_tied1
g++: gcc.target/aarch64/sve/acle/asm/dup_lane_bf16.c -std=gnu++98 -O2
-fno-schedule-insns -DCHECK_ASM --save-temps -DTEST_OVERLOADS
check-function-bodies dup_lane_0_bf16_untied
That's obviously not the full set. But they're all asm scanning, so it's
certainly possible that the code quality hasn't regressed, but the scan-body
stuff needs updating. I haven't really investigated that, just bisected things
to the problem commit.