modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/pr78436.c (about)

     1  /* PR tree-optimization/78436 */
     2  
     3  struct S
     4  {
     5    long int a : 24;
     6    signed char b : 8;
     7  } s;
     8  
     9  __attribute__((noinline, noclone)) void
    10  foo ()
    11  {
    12    s.b = 0;
    13    s.a = -1193165L;
    14  }
    15  
    16  int
    17  main ()
    18  {
    19    foo ();
    20    if (s.b != 0)
    21      __builtin_abort ();
    22    return 0;
    23  }