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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
graphite
/
pr83277.c
blob
aef4fee4272a7351524e4f8726b5f501659f5d10
1
/* { dg-do run } */
2
/* { dg-options "-O2 -floop-nest-optimize" } */
3
4
int
rk
,
si
=
0
;
5
int
jr
[
2
];
6
7
int
8
wv
(
signed char
n8
)
9
{
10
const int
tw
=
8
;
11
int
xq
[
tw
];
12
int
bj
,
pu
=
0
;
13
14
for
(
bj
=
0
;
bj
<
tw
; ++
bj
)
15
xq
[
bj
] =
0
;
16
17
bj
=
0
;
18
while
(
bj
<
1
)
19
{
20
int
gs
=
n8
^
128
;
21
22
if
(
gs
!=
0
)
23
{
24
int
u7
[
3
];
25
26
while
(
bj
<
2
)
27
{
28
u7
[
bj
] =
0
;
29
++
bj
;
30
}
31
32
jr
[
0
] =
u7
[
0
];
33
rk
=
xq
[
0
];
34
pu
=
n8
;
35
36
if
(
si
!=
0
)
37
return
si
;
38
}
39
}
40
41
return
pu
;
42
}
43
44
int
45
main
(
void
)
46
{
47
signed char
ax
=
1
;
48
49
if
(
wv
(
ax
) !=
ax
)
50
__builtin_abort
();
51
return
0
;
52
}