Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr49994-1.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-Os -fsched2-use-superblocks -g" } */ | |
3 /* { dg-require-effective-target nonlocal_goto } */ | |
4 | |
5 void x (int a) | |
6 { | |
7 __label__ xlab; | |
8 void y (int b) | |
9 { | |
10 switch (b) | |
11 { | |
12 case 1: | |
13 goto xlab; | |
14 case 2: | |
15 goto xlab; | |
16 } | |
17 } | |
18 y (a); | |
19 xlab:; | |
20 } |