Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/builtin-expect-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-gimple" } */
3
4 void g (void);
5
6 void
7 f (int i, float j, int i2, float j2)
8 {
9 if (__builtin_expect ((i * i2) > 0 && (j * j2), 0))
10 g ();
11 }
12
13 /* { dg-final { scan-tree-dump-times {builtin_expect[^\n]*, 0\);\n[^\n]*if} 2 "gimple"} } */