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
/
pr78559.c
blob
8d7b8e3004b5c6fdb160124d21ab1f2dd19b22ab
1
/* PR rtl-optimization/78559 */
2
3
int
g
=
20
;
4
int
d
=
0
;
5
6
short
7
fn2
(
int
p1
,
int
p2
)
8
{
9
return
p2
>=
2
||
5
>>
p2
?
p1
:
p1
<<
p2
;
10
}
11
12
int
13
main
()
14
{
15
int
result
=
0
;
16
lbl_2582
:
17
if
(
g
)
18
{
19
for
(
int
c
= -
3
;
c
;
c
++)
20
result
=
fn2
(
1
,
g
);
21
}
22
else
23
{
24
for
(
int
i
=
0
;
i
<
2
;
i
+=
2
)
25
if
(
d
)
26
goto
lbl_2582
;
27
}
28
if
(
result
!=
1
)
29
__builtin_abort
();
30
return
0
;
31
}
32
33
34