summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20040614-1.c
blob: d99d2789664036b2ee082bea31207cbdda0ffcc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef NO_LABEL_VALUES
void f(int r1, int *fp) 
{     
  void *hlbl_tbl[] = { &&label1 }; 
  goto *hlbl_tbl[r1]; 
  *fp = 0; 
 label0: 
  fp += 8; 
 label1: 
  *fp = 0; 
  if (r1)  
    goto label2; 
  if (r1) 
    goto label0; 
 label2: 
  ; 
} 
#else
int x;
#endif