OSDN Git Service

For Greta Yorsh.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / tree-ssa / builtin-expect-1.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-gimple" } */
3
4 f (int i, float j, int i2, float j2) 
5
6   if (__builtin_expect ((i * i2) > 0 && (j * j2), 0)) 
7     g ();
8
9
10 /* { dg-final { scan-tree-dump-times {builtin_expect[^\n]*, 0\);\n[^\n]*if} 2 "gimple"} } */
11 /* { dg-final { cleanup-tree-dump "gimple" } } */