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:15: note: function call is shrink-wrapped into error conditions\." "cdce" } } */
9 int total_err_count
= 0;
10 double foo_opt (double y
) __attribute__((noinline
));
11 double foo_opt (double y
)
19 double foo (double y
) __attribute__((noinline
));
28 int test (double (*fp
) (double y
))
31 for (i
= -100; i
< 100; i
++)
38 return total_err_count
;