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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [pr34017.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 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.