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