OSDN Git Service

2010-01-21 Martin Jambor <mjambor@suse.cz>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / tree-ssa / builtin-expect-3.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-gimple" } */
3
4 f (int i, float j) 
5
6   if (__builtin_expect (i > 0 && j, 0))
7     a ();
8   else
9     b ();
10
11
12 /* { dg-final { scan-tree-dump-times {builtin_expect[^\n]*, 0\);\n[^\n]*if} 2 "gimple"} } */
13 /* { dg-final { cleanup-tree-dump "gimple" } } */