Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/pr69167.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* PR tree-optimization/69167 */ | |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-O2" } */ | |
4 | |
5 int sigsetjmp (char *); | |
6 void foo (); | |
7 void bar (void (*) (int *)); | |
8 extern char t[]; | |
9 | |
10 void | |
11 baz (int *x) | |
12 { | |
13 int *a = x; | |
14 foo (); | |
15 x = 0; | |
16 if (sigsetjmp (t)) | |
17 while (1) | |
18 bar (a ? baz : 0); | |
19 if (x) | |
20 foo (); | |
21 } |