Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr80112.c @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 04ced10e8804 |
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 } |