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 target/83368
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr82628.c
blob
d71352204853ae25fe32636425540cf91d1a7715
1
/* { dg-do run { target ia32 } } */
2
/* { dg-options "-Os" } */
3
4
void
5
__attribute__
((
noipa
))
6
foo
(
const char
*
x
)
7
{
8
asm
volatile
(
""
:
"+g"
(
x
) : :
"memory"
);
9
if
(
x
)
10
__builtin_abort
();
11
}
12
13
int
a
,
b
=
1
;
14
15
int
16
main
()
17
{
18
while
(
1
)
19
{
20
unsigned long long
d
=
18446744073709551615UL
;
21
while
(
1
)
22
{
23
int
e
=
b
;
24
while
(
d
<
2
)
25
foo
(
"0"
);
26
if
(
a
)
27
d
++;
28
if
(
b
)
29
break
;
30
}
31
break
;
32
}
33
return
0
;
34
}