* tree-ssa-loop-manip.c (split_loop_exit_edge): Return the new block.
[official-gcc.git] / gcc / testsuite / gcc.dg / builtins-14.c
blobe025391a9ba11819a15e710811490433d193458c
1 /* Copyright (C) 2003 Free Software Foundation.
3 Check that constant folding of built-in math functions doesn't
4 break anything and produces the expected results.
6 Written by Roger Sayle, 9th April 2003. */
8 /* { dg-do link } */
9 /* { dg-options "-O2" } */
11 extern void link_error(void);
13 extern double pow(double,double);
16 int main()
18 if (pow (2.0, 3.0) != 8.0)
19 link_error ();
21 if (pow (2.0, -3.0) != 0.125)
22 link_error ();
24 return 0;