From 83e0724ec706dfab4de4278d8819c84d2c548829 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Thu, 13 Oct 2011 12:28:16 +0000 Subject: [PATCH] * gcc.dg/builtins-67.c: Guard iround and irint with HAVE_C99_RUNTIME. From-SVN: r179920 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/builtins-67.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ca2e33a8038..5a2e3b7f1a4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2011-10-13 Eric Botcazou + + * gcc.dg/builtins-67.c: Guard iround and irint with HAVE_C99_RUNTIME. + 2011-10-13 Richard Guenther PR tree-optimization/50712 diff --git a/gcc/testsuite/gcc.dg/builtins-67.c b/gcc/testsuite/gcc.dg/builtins-67.c index 5c61391cc92..22267bd31b9 100644 --- a/gcc/testsuite/gcc.dg/builtins-67.c +++ b/gcc/testsuite/gcc.dg/builtins-67.c @@ -58,14 +58,14 @@ long long llceilf (float a) { return (long long) ceilf (a); } long long llceill (long double a) { return (long long) ceill (a); } #endif -int iround (double a) { return (int) round (a); } #ifdef HAVE_C99_RUNTIME +int iround (double a) { return (int) round (a); } int iroundf (float a) { return (int) roundf (a); } int iroundl (long double a) { return (int) roundl (a); } #endif -int irint (double a) { return (int) rint (a); } #ifdef HAVE_C99_RUNTIME +int irint (double a) { return (int) rint (a); } int irintf (float a) { return (int) rintf (a); } int irintl (long double a) { return (int) rintl (a); } #endif -- 2.30.2