Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr46440.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* PR rtl-optimization/46440 */ |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-O -fstack-protector -fno-tree-dominator-opts -fno-tree-fre" } */ | |
4 /* { dg-require-effective-target fstack_protector } */ | |
5 | |
6 int i; | |
7 | |
8 void bar (char *); | |
9 | |
10 void | |
11 foo (void) | |
12 { | |
13 void *l; | |
14 char c[64]; | |
15 bar (c); | |
16 i = 1; | |
17 if (i) | |
18 l = &&l1; | |
19 else | |
20 l = &&l2; | |
21 goto *l; | |
22 l2: | |
23 __builtin_abort (); | |
24 l1:; | |
25 } |