2 /* { dg-skip-if "doubles are floats" { "avr-*-*" } { "*" } { "" } } */
3 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -lm" } */
4 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details" { target *-*-netware* } } */
5 /* { dg-final { scan-tree-dump "cdce2.c:17: note: function call is shrink-wrapped into error conditions\." "cdce" } }*/
6 /* { dg-final { cleanup-tree-dump "cdce" } } */
11 int total_err_count = 0;
12 double foo_opt (double y) __attribute__((noinline));
13 double foo_opt (double y)
21 double foo (double y) __attribute__((noinline));
30 int test (double (*fp) (double y))
33 for (i = -100; i < 100; i++)
40 return total_err_count;