https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124361
Bug ID: 124361
Summary: XPASS: gcc.dg/tree-ssa/ssa-dom-cse-2.c scan-tree-dump
optimized "return 28;"
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: azoff at gcc dot gnu.org
Target Milestone: ---
The test is marked as XFAIL for all the Cortex-M targets I test, except
Cortex-M55/Cortex-M85 with -mfloat-abi=hard.
I assume that the "{ ! arm_neon }" sub-condition needs to be adjusted in some
way here:
/* { dg-final { scan-tree-dump "return 28;" "optimized" { xfail { { alpha*-*-*
hppa*64*-*-* nvptx*-*-* mmix-knuth-mmixware } || { { { lp64 && { mips*-*-*
powerpc*-*-* riscv*-*-* } } || aarch64_sve } || { arm*-*-* && { ! arm_neon } }
} } } } } */
Testing tree-ssa/ssa-dom-cse-2.c
doing compile
Executing on host: /build/r16-7849-g1f9879e17466f5/bin/arm-none-eabi-gcc
/build/gcc_src/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c -mthumb
-march=armv8.1-m.main+mve.fp+fp.dp -mtune=cortex-m55 -mfloat-abi=hard
-mfpu=auto -fdiagnostics-plain-output -O3 -fno-tree-fre -fno-tree-pre
-fdump-tree-optimized --param sra-max-scalarization-size-Ospeed=32 -S -o
ssa-dom-cse-2.s (timeout = 800)
spawn -ignore SIGHUP /build/r16-7849-g1f9879e17466f5/bin/arm-none-eabi-gcc
/build/gcc_src/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c -mthumb
-march=armv8.1-m.main+mve.fp+fp.dp -mtune=cortex-m55 -mfloat-abi=hard
-mfpu=auto -fdiagnostics-plain-output -O3 -fno-tree-fre -fno-tree-pre
-fdump-tree-optimized --param sra-max-scalarization-size-Ospeed=32 -S -o
ssa-dom-cse-2.s
pid is 838814 -838814
pid is -1
output is status 0
PASS: gcc.dg/tree-ssa/ssa-dom-cse-2.c (test for excess errors)
XPASS: gcc.dg/tree-ssa/ssa-dom-cse-2.c scan-tree-dump optimized "return 28;"