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
Small ChangeLog tweak.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr65053-1.c
blob
edcf41ddb453b1670804b396ee7ad87eda802511
1
/* PR tree-optimization/65053 */
2
3
int
i
;
4
5
__attribute__
((
noinline
,
noclone
))
6
unsigned int
foo
(
void
)
7
{
8
return
0
;
9
}
10
11
int
12
main
()
13
{
14
unsigned int
u
= -
1
;
15
if
(
u
== -
1
)
16
{
17
unsigned int
n
=
foo
();
18
if
(
n
>
0
)
19
u
=
n
-
1
;
20
}
21
22
while
(
u
!= -
1
)
23
{
24
asm
(
""
:
"+g"
(
u
));
25
u
= -
1
;
26
i
=
1
;
27
}
28
29
if
(
i
)
30
__builtin_abort
();
31
return
0
;
32
}