Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/pr55832.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 /* PR tree-optimization/55832 */ |
2 | |
3 int g, b; | |
4 | |
5 void | |
6 foo (void) | |
7 { | |
8 union U { int i; unsigned short s; } a = { 0 }; | |
9 unsigned char c; | |
10 unsigned short d = 0, *p = &a.s; | |
11 | |
12 if (g) | |
13 a.i--; | |
14 | |
15 if (b && a.i < (d = 1)) | |
16 return; | |
17 | |
18 for (; a.i < 15; a.i++) | |
19 b |= d <= c; | |
20 | |
21 if (!*p) | |
22 g = 0; | |
23 } |