PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20040302-1.c
blob10bc133e7fc387ce210bc99b87ceb3b6cca9a913
1 /* { dg-require-effective-target label_values } */
2 int code[]={0,0,0,0,1};
4 void foo(int x) {
5 volatile int b;
6 b = 0xffffffff;
9 void bar(int *pc) {
10 static const void *l[] = {&&lab0, &&end};
12 foo(0);
13 goto *l[*pc];
14 lab0:
15 foo(0);
16 pc++;
17 goto *l[*pc];
18 end:
19 return;
22 int main() {
23 bar(code);
24 return 0;