* gcc.dg/builtins-8.c: Condition cbrt test on HAVE_C99_RUNTIME.

From-SVN: r140297
This commit is contained in:
Joseph Myers 2008-09-11 22:11:54 +01:00 committed by Joseph Myers
parent 13d7e8af69
commit c82bde8afc
2 changed files with 6 additions and 0 deletions

View 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.

View 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()