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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [pr34017.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
/* { dg-do compile } */
2
/* { dg-options "-O2 -ftree-loop-linear" } */
3
 
4
extern int s;
5
 
6
void
7
foo (int *x, int y, int z)
8
{
9
 int m, n;
10
 int o;
11
 int p = x[0];
12
 o = s;
13
 for (m = 0; m < s; m++)
14
   for (n = 0; n < s; n++)
15
     {
16
       if (x[n] != p)
17
         continue;
18
       if (m > z)
19
         z = m;
20
       if (n < o)
21
         o = n;
22
     }
23
 for (m = y; m <= z; m++)
24
   {
25
   }
26
}

powered by: WebSVN 2.1.0

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