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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [pr23820.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
int t [2][4];
5
 
6
void foo (void)
7
{
8
  int i, j, k, v;
9
  float e;
10
  for (;;)
11
    {
12
      v = 0;
13
      for (j = 0; j < 2; j ++)
14
        {
15
          for (k = 2; k < 4; k ++)
16
            {
17
              e = 0.0;
18
              for (i = 0; i < 4; i ++)
19
                e += t [j][i];
20
              if (e)
21
                v = j;
22
            }
23
        }
24
      t [v][0] = 0;
25
    }
26
}

powered by: WebSVN 2.1.0

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