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
/
vect-dv-1.c
blob
621e67df4c6abe75bb152beef21bc827e0f98116
1
/* Test compiler crash when dependence analyzer can not represent
2
dependence relation by distance vector. */
3
/* { dg-do compile } */
4
/* { dg-require-effective-target vect_int } */
5
6
int
x
[
199
];
7
8
void
foo
()
9
10
{
11
int
t
,
j
;
12
13
for
(
j
=
99
;
j
>
0
;
j
--)
14
x
[
j
+
j
]=
x
[
j
];
15
16
for
(
j
=
198
;
j
>=
100
;
j
--)
17
if
(
x
[
j
])
18
{
19
x
[
j
-
63
]=
x
[
j
-
3
]-
x
[
j
];
20
}
21
}