aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>2024-07-15 12:10:12 +0200
committerThomas Koenig <tkoenig@gcc.gnu.org>2024-07-28 19:05:47 +0200
commit6d68404e8c1b24ce70a09fb3aa138f6dec52873a (patch)
treef793207161f062df0982a48d44afa02294afe9e0
parentb448b3b695f5d3c86a6bee3ce8522f261869dbb0 (diff)
downloadgcc-6d68404e8c1b24ce70a09fb3aa138f6dec52873a.zip
gcc-6d68404e8c1b24ce70a09fb3aa138f6dec52873a.tar.gz
gcc-6d68404e8c1b24ce70a09fb3aa138f6dec52873a.tar.bz2
testsuite: Disable finite math only for test [PR115826]
As the test case requires +-Inf and NaN to work and -ffast-math is added by default for arm-none-eabi, re-enable non-finite math. gcc/testsuite/ChangeLog: PR testsuite/115826 * gcc.dg/vect/tsvc/vect-tsvc-s1281.c: Use -fno-finite-math-only. Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
-rw-r--r--gcc/testsuite/gcc.dg/vect/tsvc/vect-tsvc-s1281.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/tsvc/vect-tsvc-s1281.c b/gcc/testsuite/gcc.dg/vect/tsvc/vect-tsvc-s1281.c
index dba95a8..3e619a3 100644
--- a/gcc/testsuite/gcc.dg/vect/tsvc/vect-tsvc-s1281.c
+++ b/gcc/testsuite/gcc.dg/vect/tsvc/vect-tsvc-s1281.c
@@ -4,6 +4,9 @@
/* { dg-additional-options "--param vect-epilogues-nomask=0" } */
/* { dg-require-effective-target vect_float } */
+/* This test requires +-Inf and NaN, so disable finite-math-only */
+/* { dg-additional-options "-fno-finite-math-only" } */
+
#include "tsvc.h"
real_t s1281(struct args_t * func_args)