https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124633
Bug ID: 124633
Summary: FAIL: gcc.dg/match-shift-cmp-3.c scan-tree-dump-times
optimized
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: azoff at gcc dot gnu.org
Target Milestone: ---
Created attachment 64020
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64020&action=edit
match-shift-cmp-3.c.273t.optimized for
thumb/arch=armv6s-m/tune=cortex-m0/float-abi=soft/fpu=auto
Starting with r16-5648-g862d4309dcb342, I see the following failure in my
arm-none-eabi logs (for all Cortex targets that I've test, not just Cortex-M0).
The test works fine for x86_64-pc-linux-gnu.
Testing gcc.dg/match-shift-cmp-3.c
doing compile
Executing on host: /build/r16-8253-geb50d28a9353e9/bin/arm-none-eabi-gcc
/build/gcc_src/gcc/testsuite/gcc.dg/match-shift-cmp-3.c -mthumb
-march=armv6s-m -mtune=cortex-m0 -mfloat-abi=soft -mfpu=auto
-fdiagnostics-plain-output -O2 -fdump-tree-optimized -S -o
match-shift-cmp-3.s (timeout = 800)
spawn -ignore SIGHUP /build/r16-8253-geb50d28a9353e9/bin/arm-none-eabi-gcc
/build/gcc_src/gcc/testsuite/gcc.dg/match-shift-cmp-3.c -mthumb -march=armv6s-m
-mtune=cortex-m0 -mfloat-abi=soft -mfpu=auto -fdiagnostics-plain-output -O2
-fdump-tree-optimized -S -o match-shift-cmp-3.s
pid is 82478 -82478
pid is -1
output is status 0
PASS: gcc.dg/match-shift-cmp-3.c (test for excess errors)
gcc.dg/match-shift-cmp-3.c: pattern found 4 times
FAIL: gcc.dg/match-shift-cmp-3.c scan-tree-dump-times optimized "return 0;" 6
gcc.dg/match-shift-cmp-3.c: pattern found 4 times
FAIL: gcc.dg/match-shift-cmp-3.c scan-tree-dump-times optimized "return 1;" 6