aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2015-10-29 18:32:19 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2015-10-29 18:32:19 +0000
commitd8cf6ce752078133a63d5ffe49f639bad82ad8e9 (patch)
tree207518f1819c20befaa434259f8321401d404553
parent40a49b3cf69348fbe1c8a2412849afe1163e614a (diff)
downloadgcc-d8cf6ce752078133a63d5ffe49f639bad82ad8e9.zip
gcc-d8cf6ce752078133a63d5ffe49f639bad82ad8e9.tar.gz
gcc-d8cf6ce752078133a63d5ffe49f639bad82ad8e9.tar.bz2
Require c99_runtime for builtin-convert-1.c
...which was failing on *-elf. This test is making sure that we narrow maths calls, e.g. sinh -> sinhf, but we can only do that if we know that the target has a full c99 libm or if we have other proof that the function we want to generate is available. Tested on aarch64-none-elf (where it's skipped) and aarch64-linux-gnu (where it isn't). gcc/testsuite/ * gcc.dg/torture/builtin-convert-1.c: Require c99_runtime. From-SVN: r229548
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/torture/builtin-convert-1.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index eea5a20..71f3148 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2015-10-29 Richard Sandiford <richard.sandiford@arm.com>
+
+ * gcc.dg/torture/builtin-convert-1.c: Require c99_runtime.
+
2015-10-29 Michael Meissner <meissner@linux.vnet.ibm.com>
* gcc.target/powerpc/float128-call.c: New test for -mfloat128 on
diff --git a/gcc/testsuite/gcc.dg/torture/builtin-convert-1.c b/gcc/testsuite/gcc.dg/torture/builtin-convert-1.c
index f13d29e..eecd2b3 100644
--- a/gcc/testsuite/gcc.dg/torture/builtin-convert-1.c
+++ b/gcc/testsuite/gcc.dg/torture/builtin-convert-1.c
@@ -8,6 +8,7 @@
/* { dg-do link } */
/* { dg-options "-ffast-math" } */
/* { dg-add-options c99_runtime } */
+/* { dg-require-effective-target c99_runtime } */
#include "../builtins-config.h"