[committed,PR,testsuite/118055] Trivial testsuite adjustment for m68k target

Message ID c76ce45f-55f2-41e7-a59c-d368117b8014@gmail.com
State New
Headers
Series [committed,PR,testsuite/118055] Trivial testsuite adjustment for m68k target |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_gcc_build--master-arm fail Patch failed to apply

Commit Message

Jeff Law Jan. 7, 2025, 2:45 p.m. UTC
  After a bit of a prod from Hans...

Make the obvious change to these tests to get them passing again on m68k.

Jeff
commit a856b4d97b8d328fdcb169b792ac5456e40f8c00
Author: Jeff Law <jlaw@ventanamicro.com>
Date:   Tue Jan 7 07:43:19 2025 -0700

    [PR testsuite/118055] Trivial testsuite adjustment for m68k target
    
    After a bit of a prod from Hans...
    
    Make the obvious change to these tests to get them passing again on m68k.
    
            PR testsuite/118055
    
    gcc/testsuite
    
            * gcc.dg/tree-ssa/pr83403-1.c: Add m68k*-*-* to targets needing
            additional arguments for peeling.
            * gcc.dg/tree-ssa/pr83403-2.c: Similarly.
  

Patch

diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr83403-1.c b/gcc/testsuite/gcc.dg/tree-ssa/pr83403-1.c
index 3cfda4f183c..64f2bbc76fe 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr83403-1.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr83403-1.c
@@ -1,7 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-options "-O3 -funroll-loops -fdump-tree-lim2-details" } */
 /* { dg-additional-options "--param max-completely-peeled-insns=200" { target { s390*-*-* } } } */
-/* { dg-additional-options "--param max-completely-peeled-insns=300" { target { arm*-*-* cris-*-* } } } */
+/* { dg-additional-options "--param max-completely-peeled-insns=300" { target { arm*-*-* cris-*-* m68k*-*-* } } } */
 
 #define TYPE unsigned int
 
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr83403-2.c b/gcc/testsuite/gcc.dg/tree-ssa/pr83403-2.c
index 00fa04ecb85..3f520720ca2 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr83403-2.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr83403-2.c
@@ -1,7 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-options "-O3 -funroll-loops -fdump-tree-lim2-details" } */
 /* { dg-additional-options "--param max-completely-peeled-insns=200" { target { s390*-*-* } } } */
-/* { dg-additional-options "--param max-completely-peeled-insns=300" { target { arm*-*-* cris-*-* } } } */
+/* { dg-additional-options "--param max-completely-peeled-insns=300" { target { arm*-*-* cris-*-* m68k*-*-* } } } */
 
 #define TYPE int