2 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -lm" } */
3 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details" { target *-*-netware* } } */
4 /* { dg-final { scan-tree-dump "cdce1.c:17: note: function call is shrink-wrapped into error conditions\." "cdce" } } */
5 /* { dg-final { cleanup-tree-dump "cdce" } } */
6 /* { dg-require-effective-target large_double } */
11 int total_err_count = 0;
12 double foo_opt (int x, double y) __attribute__((noinline));
13 double foo_opt (int x, double y)
21 double foo (int x, double y) __attribute__((noinline));
22 double foo (int x, double y)
30 int test (double (*fp)(int x, double y))
35 for (i = 30; i < 300; i++)
43 for (i = 100; i < 300; i++)
51 for (i = 60; i < 200; i++)
59 for (i = 1; i < 100; i++)
66 return total_err_count;