OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [vect-dv-1.c] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* 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
}
22
/* { dg-final { cleanup-tree-dump "vect" } } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.