diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2011-10-13 12:28:16 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2011-10-13 12:28:16 +0000 |
commit | 83e0724ec706dfab4de4278d8819c84d2c548829 (patch) | |
tree | 0d9fd3a330d6895359f213f8058f91908c0189b0 | |
parent | 2b3c0885d9baffc8a5c465fe94bbd25ce4e1ee6a (diff) | |
download | gcc-83e0724ec706dfab4de4278d8819c84d2c548829.zip gcc-83e0724ec706dfab4de4278d8819c84d2c548829.tar.gz gcc-83e0724ec706dfab4de4278d8819c84d2c548829.tar.bz2 |
* gcc.dg/builtins-67.c: Guard iround and irint with HAVE_C99_RUNTIME.
From-SVN: r179920
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | 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 ca2e33a..5a2e3b7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2011-10-13 Eric Botcazou <ebotcazou@adacore.com> + + * gcc.dg/builtins-67.c: Guard iround and irint with HAVE_C99_RUNTIME. + 2011-10-13 Richard Guenther <rguenther@suse.de> PR tree-optimization/50712 diff --git a/gcc/testsuite/gcc.dg/builtins-67.c b/gcc/testsuite/gcc.dg/builtins-67.c index 5c61391..22267bd 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 |