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