PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / builtin-expect-2.c
blobc9d01e05ff56f0b19149492e00367c47d78527a2
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-gimple" } */
4 void g (void);
6 void
7 f (int i, float j, int i2, float j2)
8 {
9 if (__builtin_expect ((i * i2) > 0 || (j * j2), 0))
11 else
12 g ();
15 /* { dg-final { scan-tree-dump-times {builtin_expect[^\n]*, 0\);\n[^\n]*if} 2 "gimple"} } */