(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr110731.c
       1  /* PR tree-optimization/110731 */
       2  /* { dg-do run { target int128 } } */
       3  /* { dg-options "-O2" } */
       4  
       5  __int128
       6  foo (void)
       7  {
       8    struct S { __int128 f : 119; } s = { ((__int128) -18014398509481984) << 64 };
       9    return s.f / 2;
      10  }
      11  
      12  int
      13  main ()
      14  {
      15    if (foo () != (((__int128) -9007199254740992) << 64))
      16      __builtin_abort ();
      17  }