Debian Codegraph @

gcc/testsuite/gcc.target/i386/branch-cost3.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-gimple -mbranch-cost=2" } */
3
4 extern int doo (void);
5
6 int
7 foo (_Bool a, _Bool b)
8 {
9 if (a && b)
10 return doo ();
11 return 0;
12 }
13
14 /* { dg-final { scan-tree-dump-times "if " 1 "gimple" } } */
15 /* { dg-final { scan-tree-dump-times " & " 1 "gimple" } } */