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
/
vect
/
pr81815.c
blob
79f345a641a18d257843a20410793f421187bc15
1
int
__attribute__
((
noinline
,
noclone
))
2
f
(
int
*
x
,
int
n
)
3
{
4
int
b
=
13
;
5
for
(
int
i
=
0
;
i
<
n
; ++
i
)
6
{
7
int
next
=
x
[
i
];
8
b
=
b
<
100
?
next
:
200
;
9
}
10
return
b
;
11
}
12
13
static int
res
[
32
];
14
15
int
16
main
(
void
)
17
{
18
for
(
int
i
=
0
;
i
<
32
; ++
i
)
19
res
[
i
] =
i
;
20
res
[
15
] =
100
;
21
if
(
f
(
res
,
32
) !=
200
)
22
__builtin_abort
();
23
return
0
;
24
}