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 inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20020916-1.c
blob
3f2db15d019573a04530cc8c6a372eed4529ec7e
1
/* Distilled from try_pre_increment in flow.c. If-conversion inserted
2
new instructions at the wrong place on ppc. */
3
4
int
foo
(
int
a
)
5
{
6
int
x
;
7
x
=
0
;
8
if
(
a
>
0
)
x
=
1
;
9
if
(
a
<
0
)
x
=
1
;
10
return
x
;
11
}
12
13
int
main
()
14
{
15
if
(
foo
(
1
) !=
1
)
16
abort
();
17
return
0
;
18
}
19