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
This commit is contained in:
Richard Sandiford 2015-10-29 18:32:19 +00:00 committed by Richard Sandiford
parent 40a49b3cf6
commit d8cf6ce752
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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"