(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr56144.c
       1  /* PR rtl-optimization/56144 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O" } */
       4  
       5  int a;
       6  union U0 { volatile unsigned f2, f4; };
       7  volatile int b;
       8  static union U0 c;
       9  volatile unsigned d, f;
      10  volatile int e, g, h, i, j, k, l, m, n, o, p;
      11  int
      12  main ()
      13  {
      14    a = b;
      15    a += c.f2;
      16    a += c.f4;
      17    unsigned q = h;
      18    a += q;
      19    q = g;
      20    a += q;
      21    a += f;
      22    q = e;
      23    a += q;
      24    a += d;
      25    a += 2L;
      26    a += j;
      27    a += i;
      28    a += k;
      29    a += p;
      30    a += o;
      31    a += n;
      32    a += m;
      33    a += l;
      34    return 0;
      35  }