Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/vect/vect-dv-1.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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 } |