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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
int a[2] = { 2, 0 };
2
 
3
void foo(int *sp, int cnt)
4
{
5
  int *p, *top;
6
 
7
  top = sp; sp -= cnt;
8
 
9
  for(p = sp; p <= top; p++)
10
    if (*p < 2) exit(0);
11
}
12
 
13
int main()
14
{
15
  foo(a + 1, 1);
16
  abort();
17
}

powered by: WebSVN 2.1.0

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