From: Eric Botcazou Date: Thu, 13 Oct 2011 12:28:16 +0000 (+0000) Subject: * gcc.dg/builtins-67.c: Guard iround and irint with HAVE_C99_RUNTIME. X-Git-Tag: releases/gcc-4.7.0~3149 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=83e0724ec706dfab4de4278d8819c84d2c548829;p=thirdparty%2Fgcc.git * gcc.dg/builtins-67.c: Guard iround and irint with HAVE_C99_RUNTIME. From-SVN: r179920 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ca2e33a8038e..5a2e3b7f1a40 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 5c61391cc92f..22267bd31b91 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