OSDN Git Service

Merge lto branch into trunk.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / execute / 20040302-1.c
1 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 }