Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr113727.c

raw
1 /* { dg-do run } */
2 /* { dg-require-effective-target int32plus } */
3
4 struct f {
5 unsigned au : 5;
6 unsigned f3 : 21;
7 } g_994;
8
9 int main()
10 {
11 struct f aq1 = {};
12 {
13 struct f aq = {9, 5};
14 struct f as = aq;
15 for (int y = 0 ; y <= 4; y += 1)
16 if (as.au)
17 {
18 struct f aa[5] = {{2, 154}, {2, 154}, {2, 154}, {2, 154}, {2, 154}};
19 as = aa[0];
20 }
21 aq1 = as;
22 }
23 if (aq1.f3 != 0x9a)
24 __builtin_abort();
25 return 0;
26 }