modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.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 }