https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124346

--- Comment #1 from Torbjorn SVENSSON <azoff at gcc dot gnu.org> ---
gcc.dg/pr55152-2.c might also be related to the same root cause.

The test passes on x86_64-pc-linux-gnu.
The test fails on arm-none-abi for:
thumb/arch=armv7e-m+nofp/tune=cortex-m4/float-abi=soft/fpu=auto
thumb/arch=armv7e-m+nofp/tune=cortex-m7/float-abi=soft/fpu=auto
thumb/arch=armv7-m/tune=cortex-m3/float-abi=soft/fpu=auto
thumb/arch=armv7ve+neon/tune=cortex-a7/float-abi=hard/fpu=auto
thumb/arch=armv7ve+nofp/tune=cortex-a7/float-abi=soft/fpu=auto
thumb/arch=armv8.1-m.main+mve+nofp/tune=cortex-m55/float-abi=soft/fpu=auto
thumb/arch=armv8.1-m.main+mve+pacbti+nofp/tune=cortex-m85/float-abi=soft/fpu=auto
thumb/arch=armv8-m.main+dsp+nofp/tune=cortex-m33/float-abi=soft/fpu=auto


Log for thumb/arch=armv7ve+neon/tune=cortex-a7/float-abi=hard/fpu=auto:
Testing gcc.dg/pr55152-2.c
doing compile
Executing on host: /build/r16-7849-g1f9879e17466f5/bin/arm-none-eabi-gcc 
/build/gcc_src/gcc/testsuite/gcc.dg/pr55152-2.c  -mthumb -march=armv7ve+neon
-mtune=cortex-a7 -mfloat-abi=hard -mfpu=auto   -fdiagnostics-plain-output   -O
-ffinite-math-only -fno-signed-zeros -fstrict-overflow -fdump-tree-optimized -S
    -o pr55152-2.s    (timeout = 800)
spawn -ignore SIGHUP /build/r16-7849-g1f9879e17466f5/bin/arm-none-eabi-gcc
/build/gcc_src/gcc/testsuite/gcc.dg/pr55152-2.c -mthumb -march=armv7ve+neon
-mtune=cortex-a7 -mfloat-abi=hard -mfpu=auto -fdiagnostics-plain-output -O
-ffinite-math-only -fno-signed-zeros -fstrict-overflow -fdump-tree-optimized -S
-o pr55152-2.s
pid is 4141773 -4141773
pid is -1
output is  status 0
PASS: gcc.dg/pr55152-2.c (test for excess errors)
gcc.dg/pr55152-2.c: pattern found 0 times
FAIL: gcc.dg/pr55152-2.c scan-tree-dump-times optimized ".COPYSIGN" 1
gcc.dg/pr55152-2.c: pattern found 2 times
FAIL: gcc.dg/pr55152-2.c scan-tree-dump-times optimized "ABS_EXPR" 1


Log for thumb/arch=armv7-m/tune=cortex-m3/float-abi=soft/fpu=auto:
Testing gcc.dg/pr55152-2.c
doing compile
Executing on host: /build/r16-7849-g1f9879e17466f5/bin/arm-none-eabi-gcc 
/build/gcc_src/gcc/testsuite/gcc.dg/pr55152-2.c  -mthumb -march=armv7-m
-mtune=cortex-m3 -mfloat-abi=soft -mfpu=auto   -fdiagnostics-plain-output   -O
-ffinite-math-only -fno-signed-zeros -fstrict-overflow -fdump-tree-optimized -S
    -o pr55152-2.s    (timeout = 800)
spawn -ignore SIGHUP /build/r16-7849-g1f9879e17466f5/bin/arm-none-eabi-gcc
/build/gcc_src/gcc/testsuite/gcc.dg/pr55152-2.c -mthumb -march=armv7-m
-mtune=cortex-m3 -mfloat-abi=soft -mfpu=auto -fdiagnostics-plain-output -O
-ffinite-math-only -fno-signed-zeros -fstrict-overflow -fdump-tree-optimized -S
-o pr55152-2.s
pid is 220337 -220337
pid is -1
output is  status 0
PASS: gcc.dg/pr55152-2.c (test for excess errors)
gcc.dg/pr55152-2.c: pattern found 1 times
FAIL: gcc.dg/pr55152-2.c scan-tree-dump-times optimized "ABS_EXPR" 2

Reply via email to