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
2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
mips
/
branch-15.c
blob
dee7a0504d6335ecaf1c920a3a3a1e25b2ad2843
1
/* An executable version of branch-3.c. */
2
/* { dg-do run } */
3
4
#include
"branch-helper.h"
5
6
void
7
foo
(
volatile
int
*
x
)
8
{
9
if
(
__builtin_expect
(*
x
==
0
,
1
))
10
OCCUPY_0x1fffc
;
11
}
12
13
int
14
main
(
void
)
15
{
16
int
x
=
0
;
17
int
y
=
1
;
18
19
foo
(&
x
);
20
foo
(&
y
);
21
22
return
0
;
23
}