https://gcc.gnu.org/g:41878c161c4803045ed4982158f8e67fefa15455

commit r16-6969-g41878c161c4803045ed4982158f8e67fefa15455
Author: Andrew Pinski <[email protected]>
Date:   Wed Jan 21 23:53:32 2026 -0800

    testsuite: don't test for shirnk wrapping for arm thumb1 on pr46555.c 
[PR123751]
    
    Thumb1 does not support shrink wrapping so the check for shrink
    wrapping in pr46555.c needs to be disabled for that. It does work
    with both thumb2 and arm modes.
    
    Pushed after testing for arm with `-mthumb -march=armv8-m.base`,
    `-marm -mcpu=cotext-a72` and `-mthumb -mcpu=cotext-a72` to make
    sure the correct tests are happening and still pass.
    
            PR testsuite/123751
    gcc/testsuite/ChangeLog:
    
            * gcc.dg/tree-ssa/pr46555.c: Disable for arm thumb1.
    
    Signed-off-by: Andrew Pinski <[email protected]>

Diff:
---
 gcc/testsuite/gcc.dg/tree-ssa/pr46555.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr46555.c 
b/gcc/testsuite/gcc.dg/tree-ssa/pr46555.c
index d4de7c2c1705..7b10bcda8681 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr46555.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr46555.c
@@ -25,4 +25,4 @@ int f(int a, int b, int c)
 /* Make sure we only have a PHI with 2 arguments here, 2 and 4.  */
 /* { dg-final { scan-tree-dump "PHI <2..., 4...>|PHI <4..., 2...>" "optimized" 
} } */
 /* Make sure we can shrink wrap the function now too. */
-/* { dg-final { scan-rtl-dump "Performing shrink-wrapping" "pro_and_epilogue" 
{ target { { { i?86-*-* x86_64-*-* } && { ! ia32 } } || { powerpc*-*-* 
aarch64*-*-* riscv*-*-* arm*-*-* }  } } } } */
+/* { dg-final { scan-rtl-dump "Performing shrink-wrapping" "pro_and_epilogue" 
{ target { { { i?86-*-* x86_64-*-* } && { ! ia32 } } || { { powerpc*-*-* 
aarch64*-*-* riscv*-*-* } || { arm*-*-* && { ! arm_thumb1 } } } } } } } */

Reply via email to