Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / builtin-expect-4.c
blob1fecf1b980c7e9c3a98f2fe3a63e61fcb1aa415d
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-gimple" } */
4 f (int i, float j)
5 {
6 if (__builtin_expect (i > 0 || j, 0))
7 a ();
8 else
9 b ();
12 /* { dg-final { scan-tree-dump-times {builtin_expect[^\n]*, 0\);\n[^\n]*if} 2 "gimple"} } */
13 /* { dg-final { cleanup-tree-dump "gimple" } } */