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
/
pr65053-2.c
blob
2a0f4e4636131edd3f8d1683003622dea3cea707
1
/* PR tree-optimization/65053 */
2
3
int
i
;
4
unsigned int
x
;
5
6
int
7
main
()
8
{
9
asm
volatile
(
""
:
"+g"
(
x
));
10
unsigned int
n
=
x
;
11
unsigned int
u
=
32
;
12
if
(
n
>=
32
)
13
__builtin_abort
();
14
if
(
n
!=
0
)
15
u
=
n
+
32
;
16
17
while
(
u
!=
32
)
18
{
19
asm
(
""
: :
"g"
(
u
));
20
u
=
32
;
21
i
=
1
;
22
}
23
24
if
(
i
)
25
__builtin_abort
();
26
return
0
;
27
}