gcc/testsuite/gcc.c-torture/compile/pr98199.c
raw| 1 | /* PR tree-optimization/98199 */ |
| 2 | /* { dg-require-effective-target int32plus } */ |
| 3 | |
| 4 | struct A { long a; short d; int c, f, e, g; }; |
| 5 | struct B { int a, i; short j; struct A k; signed : 20; int e, g; } __attribute__((packed)); |
| 6 | struct C { short a; unsigned i, k; struct B d; const int : 30; signed e : 20; signed : 18; }; |
| 7 | const struct C l = { 1, 6, 0, {}, 0 }; |
| 8 | int foo (void) { return l.e || 0; } |