modernc.org/cc@v1.0.1/testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/pr51495.c (about) 1 /* PR rtl-optimization/51495 */ 2 /* { dg-require-effective-target indirect_jumps } */ 3 /* { dg-require-effective-target label_values } */ 4 5 void bar (void); 6 7 int 8 foo (int i) 9 { 10 static const void *const table[] = { &&begin, &&end }; 11 goto *(table[i]); 12 begin: 13 bar (); 14 end: 15 return 0; 16 }