Merge -r 127928:132243 from trunk
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / builtin-expect-1.c
blob42d4b0dd87442fe19ca7c368f0deb5ec1dd2bcda
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 g ();
8 }
10 /* { dg-final { scan-tree-dump-times {builtin_expect[^\n]*, 0\);\n[^\n]*if} 2 "gimple"} } */
11 /* { dg-final { cleanup-tree-dump "gimple" } } */