]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc.dg/builtins-8.c: Condition cbrt test on HAVE_C99_RUNTIME.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 11 Sep 2008 21:11:54 +0000 (22:11 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Thu, 11 Sep 2008 21:11:54 +0000 (22:11 +0100)
From-SVN: r140297

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

index 433ab4fc66b9e7f34e3c5d3e76a7c337c5915fce..bd2d4930ca64ca8d509829dfa681477591b82aa7 100644 (file)
@@ -1,3 +1,7 @@
+2008-09-11  Joseph Myers  <joseph@codesourcery.com>
+
+       * gcc.dg/builtins-8.c: Condition cbrt test on HAVE_C99_RUNTIME.
+
 2008-09-11  Paolo Bonzini  <bonzini@gnu.org>
 
        * gcc.dg/tree-ssa/vrp47.c: New.
index be17774d5265a85a6e05158166ffa7f23e1a7bce..95c17e72f2493ae29d54f262207596312704f524 100644 (file)
@@ -27,8 +27,10 @@ void test(double x)
   if (pow(x,0.5) != sqrt(x))
     abort ();
 
+#ifdef HAVE_C99_RUNTIME
   if (pow(x,1.0/3.0) != cbrt(x))
     abort ();
+#endif
 }
 
 int main()