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/] [20040302-1.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
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.