(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
store_merging_17.c
       1  /* PR tree-optimization/83241 */
       2  /* { dg-do compile { target store_merge } } */
       3  /* { dg-options "-O2" } */
       4  
       5  struct S { int a; short b[32]; } e;
       6  struct T { volatile int c; int d; } f;
       7  
       8  void
       9  foo ()
      10  {
      11    struct T g = f;
      12    e.b[0] = 6;
      13    e.b[1] = 6;
      14    e.b[4] = g.d;
      15    e.b[5] = g.d >> 16;
      16    e.a = 1;
      17  }