1  /* PR rtl-optimization/79571 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O -mno-sse -w" } */
       4  
       5  struct a
       6  {
       7    int b;
       8    int *c
       9  } h;
      10  struct d
      11  {
      12    struct a e
      13  };
      14  struct fd
      15  {
      16    struct d *d
      17  } i;
      18  g;
      19  j ()
      20  {
      21    unsigned a = g;
      22    i = (struct fd){a & 3};
      23    struct fd f = i;
      24    h = f.d->e;
      25  }