]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Disable finite math only for test [PR115826]
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Mon, 15 Jul 2024 10:10:12 +0000 (12:10 +0200)
committerTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Tue, 23 Jul 2024 10:04:09 +0000 (12:04 +0200)
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>
gcc/testsuite/gcc.dg/vect/tsvc/vect-tsvc-s1281.c

index dba95a8197372d0dfe6ecc80f4957d905a8861ef..3e619a3fa5aaa0fa46681317e509d2d6323e1299 100644 (file)
@@ -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)