(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
sms-compare-debug-2.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -fcompare-debug -fmodulo-sched" } */
       3  
       4  struct S { int f; signed int g : 2; } a[1], c = {5, 1}, d;
       5  short b;
       6  
       7  __attribute__((noinline, noclone)) void
       8  foo (int x)
       9  {
      10    if (x != 1)
      11      __builtin_abort ();
      12  }
      13  
      14  int
      15  main ()
      16  {
      17    while (b++ <= 0)
      18      {
      19        struct S e = {1, 1};
      20        d = e = a[0] = c;
      21      }
      22    foo (a[0].g);
      23    return 0;
      24  }