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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20040302-1.c] - Blame information for rev 688

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
int code[]={0,0,0,0,1};
2
 
3
void foo(int x) {
4
  volatile int b;
5
  b = 0xffffffff;
6
}
7
 
8
void bar(int *pc) {
9
  static const void *l[] = {&&lab0, &&end};
10
 
11
  foo(0);
12
  goto *l[*pc];
13
 lab0:
14
  foo(0);
15
  pc++;
16
  goto *l[*pc];
17
 end:
18
  return;
19
}
20
 
21
int main() {
22
  bar(code);
23
  return 0;
24
}

powered by: WebSVN 2.1.0

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