This forces -fexcess-precision=standard since the testcase is
otherwise prone to fail with x87 math.
Tested on x86_64-unknown-linux-gnu with {,-m32}, pushed.
2021-10-29 Richard Biener <[email protected]>
* gcc.dg/torture/fp-uint64-convert-double-1.c: Add
-fexcess-precision=standard.
---
gcc/testsuite/gcc.dg/torture/fp-uint64-convert-double-1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/torture/fp-uint64-convert-double-1.c
b/gcc/testsuite/gcc.dg/torture/fp-uint64-convert-double-1.c
index b40a16a2257..fadad8c3198 100644
--- a/gcc/testsuite/gcc.dg/torture/fp-uint64-convert-double-1.c
+++ b/gcc/testsuite/gcc.dg/torture/fp-uint64-convert-double-1.c
@@ -1,7 +1,7 @@
/* PR84407 */
/* { dg-do run } */
/* { dg-require-effective-target fenv } */
-/* { dg-additional-options "-frounding-math" } */
+/* { dg-additional-options "-frounding-math -fexcess-precision=standard" } */
#include <fenv.h>
#include <stdlib.h>
--
2.31.1