(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr93376.c
       1  /* PR target/93376 */
       2  /* { dg-do compile { target int128 } } */
       3  /* { dg-options "-Og -finline-functions-called-once" } */
       4  
       5  unsigned a, b, c;
       6  
       7  int
       8  bar (int x)
       9  {
      10    short s = __builtin_sub_overflow (~x, 0, &b);
      11    a = __builtin_ffsll (~x);
      12    return __builtin_add_overflow_p (-(unsigned __int128) a, s,
      13  				   (unsigned __int128) 0);
      14  }
      15  
      16  void
      17  foo (void)
      18  {
      19    c = bar (0);
      20  }