Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/20071128-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 /* PR tree-optimization/34140 */ |
2 /* Testcase by Martin Michlmayr <tbm@cyrius.com> */ | |
3 | |
4 struct S | |
5 { | |
6 unsigned int s; | |
7 }; | |
8 struct T | |
9 { | |
10 struct S t[2]; | |
11 unsigned int u : 1; | |
12 }; | |
13 | |
14 void | |
15 foo (int x, int y, int z) | |
16 { | |
17 int i; | |
18 struct T t; | |
19 | |
20 t.u = t.u; | |
21 for (i = 0; i < x; i++) | |
22 if (z != 1) | |
23 t.t[i].s = y || t.u; | |
24 } |