repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR target/83368
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
branch-cost2.c
blob
f6cbc655de41b4b58a401a3b7498e5832e8da310
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
(
int
a
,
int
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" } } */