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
Merge branches/gcc-4_8-branch rev 216856
[official-gcc.git]
/
gcc-4_8-branch
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr63189.c
blob
da6fba4b1b3689870e86ebc669aff7d779eed314
1
/* PR tree-optimization/63189 */
2
/* { dg-do run } */
3
4
#include
"tree-vect.h"
5
6
short int
d
[
16
] = {
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
7
8
__attribute__
((
noinline
,
noclone
))
void
9
foo
(
void
)
10
{
11
int
j
,
s
=
0
;
12
for
(
j
=
0
;
j
<
8
;
j
++)
13
s
+=
d
[
j
] *
j
;
14
if
(
s
!=
7
)
15
abort
();
16
}
17
18
int
19
main
()
20
{
21
check_vect
();
22
foo
();
23
return
0
;
24
}
25
26
/* { dg-final { cleanup-tree-dump "vect" } } */