aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2021-05-06 09:05:52 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2021-05-06 09:05:52 +0000
commite82e87a851cdea9f4f43f342842025b068287d4e (patch)
tree1f7a6839ef15e7c0ba2b99a529c056d0cb91e785
parent3c33c00f43bfe585d9414dfb620f0f518e55a457 (diff)
downloadgcc-e82e87a851cdea9f4f43f342842025b068287d4e.zip
gcc-e82e87a851cdea9f4f43f342842025b068287d4e.tar.gz
gcc-e82e87a851cdea9f4f43f342842025b068287d4e.tar.bz2
testsuite: gcc.c-torture/execute/ieee/cdivchkld.c needs fmaxl
The new test gcc.c-torture/execute/ieee/cdivchkld.c needs fmaxl(), which may not be available, for instance on aarch64-elf with newlib. As discussed in the PR, requiring c99_runtime enables to skip the test in this case. 2021-05-06 Christophe Lyon <christophe.lyon@linaro.org> PR testsuite/100355 gcc/testsuite/ * gcc.c-torture/execute/ieee/cdivchkld.x: New.
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/ieee/cdivchkld.x4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/ieee/cdivchkld.x b/gcc/testsuite/gcc.c-torture/execute/ieee/cdivchkld.x
new file mode 100644
index 0000000..f798152
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/execute/ieee/cdivchkld.x
@@ -0,0 +1,4 @@
+if { [check_effective_target_c99_runtime] } {
+ return 0
+}
+return 1