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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [id-10.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
int bar[100][100];
2
 
3
int
4
foo (int N, unsigned int J)
5
{
6
  int i, k;
7
 
8
  for (k = 0; k < N; k++)
9
    if (k != J)
10
      for (i = 0; i < N; i++)
11
        if (i != J)
12
          bar[k][i] = 20;
13
 
14
  return bar[N][J];
15
}

powered by: WebSVN 2.1.0

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