2 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -lm" } */
3 /* { dg-require-effective-target int32plus } */
4 /* { dg-final { scan-tree-dump "cdce1.c:16: note: function call is shrink-wrapped into error conditions\." "cdce" } } */
5 /* { dg-require-effective-target large_double } */
10 int total_err_count
= 0;
11 double foo_opt (int x
, double y
) __attribute__((noinline
));
12 double foo_opt (int x
, double y
)
20 double foo (int x
, double y
) __attribute__((noinline
));
21 double foo (int x
, double y
)
29 int test (double (*fp
)(int x
, double y
))
34 for (i
= 30; i
< 300; i
++)
42 for (i
= 100; i
< 300; i
++)
50 for (i
= 60; i
< 200; i
++)
58 for (i
= 1; i
< 100; i
++)
65 return total_err_count
;