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

            Bug ID: 124346
           Summary: FAIL: gcc.dg/tree-ssa/copy-sign-2.c
                    scan-tree-dump-times optimized
           Product: gcc
           Version: 14.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: ---

This test appears to fail for the following arm-none-eabi targets:

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

Depending on arm-none-eabi target, different number of patterns match.
The test passes on x86_64-pc-linux-gnu.

I think these failures started with GCC14.


Log for thumb/arch=armv7ve+neon/tune=cortex-a7/float-abi=hard/fpu=auto:
Testing tree-ssa/copy-sign-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/copy-sign-2.c  -mthumb
-march=armv7ve+neon -mtune=cortex-a7 -mfloat-abi=hard -mfpu=auto  
-fdiagnostics-plain-output   -O2 -ffast-math -fdump-tree-optimized -S     -o
copy-sign-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/copy-sign-2.c -mthumb
-march=armv7ve+neon -mtune=cortex-a7 -mfloat-abi=hard -mfpu=auto
-fdiagnostics-plain-output -O2 -ffast-math -fdump-tree-optimized -S -o
copy-sign-2.s
pid is 1763659 -1763659
pid is -1
output is  status 0
PASS: gcc.dg/tree-ssa/copy-sign-2.c (test for excess errors)
gcc.dg/tree-ssa/copy-sign-2.c: pattern found 2 times
FAIL: gcc.dg/tree-ssa/copy-sign-2.c scan-tree-dump-times optimized "ABS" 1
gcc.dg/tree-ssa/copy-sign-2.c: pattern found 0 times
FAIL: gcc.dg/tree-ssa/copy-sign-2.c scan-tree-dump-times optimized ".COPYSIGN"
1


Log for thumb/arch=armv7-m/tune=cortex-m3/float-abi=soft/fpu=auto:
Testing tree-ssa/copy-sign-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/copy-sign-2.c  -mthumb
-march=armv7-m -mtune=cortex-m3 -mfloat-abi=soft -mfpu=auto  
-fdiagnostics-plain-output   -O2 -ffast-math -fdump-tree-optimized -S     -o
copy-sign-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/copy-sign-2.c -mthumb
-march=armv7-m -mtune=cortex-m3 -mfloat-abi=soft -mfpu=auto
-fdiagnostics-plain-output -O2 -ffast-math -fdump-tree-optimized -S -o
copy-sign-2.s
pid is 2853485 -2853485
pid is -1
output is  status 0
PASS: gcc.dg/tree-ssa/copy-sign-2.c (test for excess errors)
gcc.dg/tree-ssa/copy-sign-2.c: pattern found 1 times
FAIL: gcc.dg/tree-ssa/copy-sign-2.c scan-tree-dump-times optimized "ABS" 2

Reply via email to