Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/pr82337.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 /* PR82337: SLSR needs to prevent abnormal SSA names from |
2 serving as a basis. */ | |
3 /* { dg-require-effective-target nonlocal_goto } */ | |
4 | |
5 char *a, *b, *c; | |
6 | |
7 struct d { | |
8 short e; | |
9 char f[]; | |
10 }; | |
11 | |
12 extern void j (void); | |
13 | |
14 void | |
15 g() { | |
16 struct d *h; | |
17 char *i; | |
18 int d; | |
19 do { | |
20 i = h->f + d; | |
21 20 ? j() : 0; | |
22 i = c; | |
23 if (__builtin_setjmp (h)) | |
24 b = h->f + d; | |
25 d = (int)(*i); | |
26 } while (a); | |
27 } |