https://gcc.gnu.org/g:b7cc7ea036b6d89a06a5b9134415e8598cc2ae3c

commit b7cc7ea036b6d89a06a5b9134415e8598cc2ae3c
Author: Alexandre Oliva <ol...@adacore.com>
Date:   Thu Jun 26 00:36:45 2025 -0300

    [testsuite] restore default action from dfp.exp [PR120631]
    
    dfp.exp tests for dfprt before deciding whether to default to run or
    compile, and the PR120631 tests override that without checking for
    dfprt.  Rework them to avoid attempting to link and run programs
    when dfp runtime support isn't available.
    
    
    for  gcc/testsuite/ChangeLog
    
            PR middle-end/120631
            * pr120631.c: Drop overrider of dg-do default action.
            * bitint-9.c: Likewise.
            * bitint-10.c: Likewise.

Diff:
---
 gcc/testsuite/gcc.dg/dfp/bitint-10.c | 2 +-
 gcc/testsuite/gcc.dg/dfp/bitint-9.c  | 2 +-
 gcc/testsuite/gcc.dg/dfp/pr120631.c  | 1 -
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/dfp/bitint-10.c 
b/gcc/testsuite/gcc.dg/dfp/bitint-10.c
index b48f0ea6c277..4a73aebe095c 100644
--- a/gcc/testsuite/gcc.dg/dfp/bitint-10.c
+++ b/gcc/testsuite/gcc.dg/dfp/bitint-10.c
@@ -1,5 +1,5 @@
 /* PR middle-end/120631 */
-/* { dg-do run { target bitint } } */
+/* { dg-require-effective-target bitint } */
 /* { dg-options "-O2" } */
 
 #if __BITINT_MAXWIDTH__ >= 128
diff --git a/gcc/testsuite/gcc.dg/dfp/bitint-9.c 
b/gcc/testsuite/gcc.dg/dfp/bitint-9.c
index 72155a012475..31614876a12f 100644
--- a/gcc/testsuite/gcc.dg/dfp/bitint-9.c
+++ b/gcc/testsuite/gcc.dg/dfp/bitint-9.c
@@ -1,5 +1,5 @@
 /* PR middle-end/120631 */
-/* { dg-do run { target bitint } } */
+/* { dg-require-effective-target bitint } */
 /* { dg-options "-O2" } */
 
 #if __BITINT_MAXWIDTH__ >= 2048
diff --git a/gcc/testsuite/gcc.dg/dfp/pr120631.c 
b/gcc/testsuite/gcc.dg/dfp/pr120631.c
index 2085ff7ba5a7..2533e9de29f8 100644
--- a/gcc/testsuite/gcc.dg/dfp/pr120631.c
+++ b/gcc/testsuite/gcc.dg/dfp/pr120631.c
@@ -1,5 +1,4 @@
 /* PR middle-end/120631 */
-/* { dg-do run } */
 /* { dg-options "-O2" } */
 
 _Decimal64 a = 1234567891357900000.0dd;

Reply via email to