https://gcc.gnu.org/g:5f022a75b63b79294650f18e81d32352bf55d18e

commit r16-2598-g5f022a75b63b79294650f18e81d32352bf55d18e
Author: Christophe Lyon <christophe.l...@linaro.org>
Date:   Mon May 26 15:07:47 2025 +0000

    testsuite: Restore dg-do run on pr116906 and pr78185 tests
    
    Commit r15-7152-g57b706d141b87c removed
    /* { dg-do run { target*-*-linux* *-*-gnu* *-*-uclinux* } } */
    
    from these tests, turning them into 'compile' only tests, even when
    they could be executed.
    
    This patch adds
    /* { dg-do run } */
    
    which is OK since the tests are correctly skipped if needed thanks to
    the following effective-targets (alarm and signal).
    
    With this patch we have again two entries for these tests on linux targets:
    * compile (test for excess errors)
    * execution test
    
    gcc/testsuite/ChangeLog:
            * gcc.dg/pr116906-1.c: Add 'dg-do run'.
            * gcc.dg/pr116906-2.c: Likewise.
            * gcc.dg/pr78185.c: Likewise.

Diff:
---
 gcc/testsuite/gcc.dg/pr116906-1.c | 1 +
 gcc/testsuite/gcc.dg/pr116906-2.c | 1 +
 gcc/testsuite/gcc.dg/pr78185.c    | 1 +
 3 files changed, 3 insertions(+)

diff --git a/gcc/testsuite/gcc.dg/pr116906-1.c 
b/gcc/testsuite/gcc.dg/pr116906-1.c
index 7187507a60d1..ee60ad67e93f 100644
--- a/gcc/testsuite/gcc.dg/pr116906-1.c
+++ b/gcc/testsuite/gcc.dg/pr116906-1.c
@@ -1,3 +1,4 @@
+/* { dg-do run } */
 /* { dg-require-effective-target alarm } */
 /* { dg-require-effective-target signal } */
 /* { dg-options "-O2" } */
diff --git a/gcc/testsuite/gcc.dg/pr116906-2.c 
b/gcc/testsuite/gcc.dg/pr116906-2.c
index 41a352bf8370..4172ec3644a8 100644
--- a/gcc/testsuite/gcc.dg/pr116906-2.c
+++ b/gcc/testsuite/gcc.dg/pr116906-2.c
@@ -1,3 +1,4 @@
+/* { dg-do run } */
 /* { dg-require-effective-target alarm } */
 /* { dg-require-effective-target signal } */
 /* { dg-options "-O2 -fno-tree-ch" } */
diff --git a/gcc/testsuite/gcc.dg/pr78185.c b/gcc/testsuite/gcc.dg/pr78185.c
index ada8b1b9f907..4c3af4f2890e 100644
--- a/gcc/testsuite/gcc.dg/pr78185.c
+++ b/gcc/testsuite/gcc.dg/pr78185.c
@@ -1,3 +1,4 @@
+/* { dg-do run } */
 /* { dg-require-effective-target alarm } */
 /* { dg-require-effective-target signal } */
 /* { dg-options "-O" } */

Reply via email to