From: Joseph Myers Date: Thu, 11 Sep 2008 21:11:54 +0000 (+0100) Subject: * gcc.dg/builtins-8.c: Condition cbrt test on HAVE_C99_RUNTIME. X-Git-Tag: releases/gcc-4.4.0~2479 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c82bde8afc50fc1fa1aea3c16df3c042426156fa;p=thirdparty%2Fgcc.git * gcc.dg/builtins-8.c: Condition cbrt test on HAVE_C99_RUNTIME. From-SVN: r140297 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 433ab4fc66b9..bd2d4930ca64 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-09-11 Joseph Myers + + * gcc.dg/builtins-8.c: Condition cbrt test on HAVE_C99_RUNTIME. + 2008-09-11 Paolo Bonzini * gcc.dg/tree-ssa/vrp47.c: New. diff --git a/gcc/testsuite/gcc.dg/builtins-8.c b/gcc/testsuite/gcc.dg/builtins-8.c index be17774d5265..95c17e72f249 100644 --- a/gcc/testsuite/gcc.dg/builtins-8.c +++ b/gcc/testsuite/gcc.dg/builtins-8.c @@ -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()