OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [pr34017.c] - Diff between revs 298 and 384

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 298 Rev 384
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-loop-linear" } */
/* { dg-options "-O2 -ftree-loop-linear" } */
 
 
extern int s;
extern int s;
 
 
void
void
foo (int *x, int y, int z)
foo (int *x, int y, int z)
{
{
 int m, n;
 int m, n;
 int o;
 int o;
 int p = x[0];
 int p = x[0];
 o = s;
 o = s;
 for (m = 0; m < s; m++)
 for (m = 0; m < s; m++)
   for (n = 0; n < s; n++)
   for (n = 0; n < s; n++)
     {
     {
       if (x[n] != p)
       if (x[n] != p)
         continue;
         continue;
       if (m > z)
       if (m > z)
         z = m;
         z = m;
       if (n < o)
       if (n < o)
         o = n;
         o = n;
     }
     }
 for (m = y; m <= z; m++)
 for (m = y; m <= z; m++)
   {
   {
   }
   }
}
}
 
 

powered by: WebSVN 2.1.0

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