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/] [980424-1.c] - Blame information for rev 825

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

Line No. Rev Author Line
1 149 jeremybenn
int i, a[99];
2
 
3
void f (int one)
4
{
5
  if (one != 1)
6
    abort ();
7
}
8
 
9
void
10
g ()
11
{
12
  f (a[i & 0x3f]);
13
}
14
 
15
int
16
main ()
17
{
18
  a[0] = 1;
19
  i = 0x40;
20
  g ();
21
  exit (0);
22
}

powered by: WebSVN 2.1.0

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