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
2018-01-16 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr81815.c
blob
1eb7c59b70e1a13cf217899d04c55fd60949872f
1
/* { dg-do run } */
2
3
int
__attribute__
((
noinline
,
noclone
))
4
f
(
int
*
x
,
int
n
)
5
{
6
int
b
=
13
;
7
for
(
int
i
=
0
;
i
<
n
; ++
i
)
8
{
9
int
next
=
x
[
i
];
10
b
=
b
<
100
?
next
:
200
;
11
}
12
return
b
;
13
}
14
15
static int
res
[
32
];
16
17
int
18
main
(
void
)
19
{
20
for
(
int
i
=
0
;
i
<
32
; ++
i
)
21
res
[
i
] =
i
;
22
res
[
15
] =
100
;
23
if
(
f
(
res
,
32
) !=
200
)
24
__builtin_abort
();
25
return
0
;
26
}