(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
execute/
pr70127.c
       1  /* PR tree-optimization/70127 */
       2  
       3  struct S { int f; signed int g : 2; } a[1], c = {5, 1}, d;
       4  short b;
       5  
       6  __attribute__((noinline, noclone)) void
       7  foo (int x)
       8  {
       9    if (x != 1)
      10      __builtin_abort ();
      11  }
      12  
      13  int
      14  main ()
      15  {
      16    while (b++ <= 0)
      17      {
      18        struct S e = {1, 1};
      19        d = e = a[0] = c;
      20      }
      21    foo (a[0].g);
      22    return 0;
      23  }