Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git] / main / gcc / testsuite / gcc.dg / vect / vect-dv-1.c
blob0da4cd978a8a0e19240a2d681651f0150e98bfda
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 } */
6 int x[199];
8 void foo()
11 int t,j;
13 for (j=99;j>0;j--)
14 x [j+j]=x[j];
16 for (j=198;j>=100;j--)
17 if(x[j])
19 x[j-63]=x[j-3]-x[j];
22 /* { dg-final { cleanup-tree-dump "vect" } } */