Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr80112.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
rev | line source |
---|---|
111 | 1 /* PR rtl-optimization/80112 */ |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-Os -fmodulo-sched" } */ | |
4 /* { dg-require-effective-target label_values } */ | |
5 | |
6 void **a; | |
7 | |
8 void | |
9 foo (int c) | |
10 { | |
11 void *d[] = {&&e, &&f}; | |
12 a = d; | |
13 switch (c) | |
14 { | |
15 f: | |
16 c = 9; | |
17 /* FALLTHRU */ | |
18 case 9: | |
19 goto *a++; | |
20 e:; | |
21 } | |
22 } |