OSDN Git Service

* gcc.dg/builtins-67.c: Guard iround and irint with HAVE_C99_RUNTIME.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Oct 2011 12:28:16 +0000 (12:28 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Oct 2011 12:28:16 +0000 (12:28 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179920 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/builtins-67.c

index ca2e33a..5a2e3b7 100644 (file)
@@ -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
index 5c61391..22267bd 100644 (file)
@@ -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