1/* PR middle-end/49029 */
2/* { dg-require-effective-target int32plus } */
3struct S { volatile unsigned f : 11; signed g : 30; } __attribute__((packed));
4struct T { volatile struct S h; } __attribute__((packed)) a;
5void foo (int);
6
7void
8bar ()
9{
10  foo (a.h.g);
11}
12