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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [loop-11.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
static int a[199];
2
 
3
static void
4
foo ()
5
{
6
  int i;
7
  for (i = 198; i >= 0; i--)
8
    a[i] = i;
9
}
10
 
11
int
12
main ()
13
{
14
  int i;
15
  foo ();
16
  for (i = 0; i < 199; i++)
17
    if (a[i] != i)
18
      abort ();
19
  return 0;
20
}

powered by: WebSVN 2.1.0

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