Skipping these test cases that are not int16 clean (execution fail,
UB due to shift offset, etc).

Johann

--

testsuite/52641 - Skip test cases that are not 16-bit clean.

gcc/testsuite/
        PR testsuite/52641
        PR testsuite/116488
        PR testsuite/116915
        * gcc.dg/torture/pr116488.c: Require int32plus.
        * gcc.dg/torture/pr116915.c: Require int32plus.
commit 780720f04b0b83261d6073b92f3b02e8fbef41b9
Author: Georg-Johann Lay <a...@gjlay.de>
Date:   Tue Nov 19 19:32:24 2024 +0100

    testsuite/52641 - Skip test cases that are not 16-bit clean.
    
    gcc/testsuite/
            PR testsuite/52641
            PR testsuite/116488
            PR testsuite/116915
            * gcc.dg/torture/pr116488.c: Require int32plus.
            * gcc.dg/torture/pr116915.c: Require int32plus.

diff --git a/gcc/testsuite/gcc.dg/torture/pr116488.c b/gcc/testsuite/gcc.dg/torture/pr116488.c
index 90457bb9315..b2af84fef43 100644
--- a/gcc/testsuite/gcc.dg/torture/pr116488.c
+++ b/gcc/testsuite/gcc.dg/torture/pr116488.c
@@ -1,5 +1,7 @@
 /* { dg-do run } */
 /* { dg-additional-options "-fno-forward-propagate" } */
+/* { dg-require-effective-target int32plus } */
+
 int a, b;
 signed char c, e;
 unsigned char d;
diff --git a/gcc/testsuite/gcc.dg/torture/pr116915.c b/gcc/testsuite/gcc.dg/torture/pr116915.c
index 9368113b364..f0ee4c0b7e4 100644
--- a/gcc/testsuite/gcc.dg/torture/pr116915.c
+++ b/gcc/testsuite/gcc.dg/torture/pr116915.c
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-require-effective-target int32plus } */
 
 long a, b, *c = &b;
 short d, e;

Reply via email to