(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr91860-2.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-Og -fexpensive-optimizations -fno-tree-fre -g --param=max-combine-insns=4" } */
       3  
       4  unsigned a, b, c;
       5  void
       6  foo (void)
       7  {
       8    unsigned short e;
       9    __builtin_mul_overflow (0, b, &a);
      10    __builtin_sub_overflow (59347, 9, &e);
      11    e <<= a & 5;
      12    c = e;
      13  }