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.c-torture/] [execute/] [loop-11.c] - Blame information for rev 301

Go to most recent revision | Details | Compare with Previous | View Log

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