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

     1  /* PR rtl-optimization/82192 */
     2  
     3  unsigned long long int a = 0x95dd3d896f7422e2ULL;
     4  struct S { unsigned int m : 13; } b;
     5  
     6  __attribute__((noinline, noclone)) void
     7  foo (void)
     8  {
     9    b.m = ((unsigned) a) >> (0x644eee9667723bf7LL
    10  			   | a & ~0xdee27af8U) - 0x644eee9667763bd8LL;
    11  }
    12  
    13  int
    14  main ()
    15  {
    16    if (__INT_MAX__ != 0x7fffffffULL)
    17      return 0;
    18    foo ();
    19    if (b.m != 0)
    20      __builtin_abort ();
    21    return 0;
    22  }