2 /* { dg-options "-O2 -fdump-tree-dce1-details -lm" } */
3 /* { dg-message "note: function call is shrink-wrapped into error conditions\." "Missing conditional dce" {target "*-*-*"} 15 } */
9 int total_err_count = 0;
10 double foo_opt(int x, double y) __attribute__((noinline));
11 double foo_opt(int x, double y)
19 double foo(int x, double y) __attribute__((noinline));
20 double foo(int x, double y)
28 int test(double (*fp)(int x, double y))
33 for (i = 30; i < 300; i++)
41 for (i = 100; i < 300; i++)
49 for (i = 60; i < 200; i++)
57 for (i = 1; i < 100; i++)
64 return total_err_count;
75 printf("total number of errors = %d, %d\n", en1, en2);