dfp support isn't built into libgcc when fenv.h doesn't define the
expected FE_* macros, but some dfp tests go "dg-do run", overriding
the default "compile" when dfprt is not available.

Drop the overrider.

Regstrapped on x86_64-linux-gnu.  Also tested with aarch64-elf and
arm-eabi with gcc-15.  Ok to install?


for  gcc/testsuite/ChangeLog

        * gcc.dg/dfp/c23-decimal64x-1.c: Drop the explicit dg-do run.
        * gcc.dg/dfp/c23-decimal64x-3.c: Likewise.
---
 gcc/testsuite/gcc.dg/dfp/c23-decimal64x-1.c |    1 -
 gcc/testsuite/gcc.dg/dfp/c23-decimal64x-3.c |    1 -
 2 files changed, 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/dfp/c23-decimal64x-1.c 
b/gcc/testsuite/gcc.dg/dfp/c23-decimal64x-1.c
index 6a6f815df16d8..47d289c9c1fb9 100644
--- a/gcc/testsuite/gcc.dg/dfp/c23-decimal64x-1.c
+++ b/gcc/testsuite/gcc.dg/dfp/c23-decimal64x-1.c
@@ -1,5 +1,4 @@
 /* Test _Decimal64x in C23 mode.  */
-/* { dg-do run } */
 /* { dg-options "-std=c23 -pedantic-errors" } */
 
 int a = (int) 1.1D64x;
diff --git a/gcc/testsuite/gcc.dg/dfp/c23-decimal64x-3.c 
b/gcc/testsuite/gcc.dg/dfp/c23-decimal64x-3.c
index 12f5e13fdce81..fb883d40be5a9 100644
--- a/gcc/testsuite/gcc.dg/dfp/c23-decimal64x-3.c
+++ b/gcc/testsuite/gcc.dg/dfp/c23-decimal64x-3.c
@@ -1,5 +1,4 @@
 /* Test _Decimal64x in C23 mode - builtins.  */
-/* { dg-do run } */
 /* { dg-options "-std=c23 -pedantic-errors" } */
 
 _Decimal64x a = __builtin_infd64x ();

-- 
Alexandre Oliva, happy hacker            https://blog.lx.oliva.nom.br/
Free Software Activist     FSFLA co-founder     GNU Toolchain Engineer
More tolerance and less prejudice are key for inclusion and diversity.
Excluding neuro-others for not behaving ""normal"" is *not* inclusive!

Reply via email to