mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-11-24 23:43:42 +08:00
[PATCH] testsuite: Require C99 for pow-to-ldexp.c
pow-to-ldexp.c checks for calls to __builtin_ldexpf and __builtin_ldexpl, which will only be performed when the compiler knows the target has a C99 libm available. Modified the test to add a C99 runtime requirement. This fixes the failure on arm-eabi targets for this test case. Signed-off-by: Soumya AR <soumyaa@nvidia.com> gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/pow-to-ldexp.c: Require c99_runtime.
This commit is contained in:
parent
fff5cfa435
commit
90645dba41
@ -1,5 +1,6 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-additional-options "-Ofast -fdump-tree-optimized" } */
|
||||
/* { dg-require-effective-target c99_runtime } */
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "__builtin_ldexp\ " 7 "optimized" } } */
|
||||
/* { dg-final { scan-tree-dump-times "__builtin_ldexpf\ " 7 "optimized" } } */
|
||||
|
Loading…
Reference in New Issue
Block a user