(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
compile/
pr59743.c
       1  /* PR middle-end/59743 */
       2  
       3  typedef union {
       4    long all;
       5    struct {
       6      int low;
       7      int high;
       8    } s;
       9  } udwords;
      10  int a, b, c, d;
      11  void __udivmoddi4() {
      12    udwords r;
      13    d = __builtin_clz(0);
      14    r.s.low = 0;
      15    for (; d; --d) {
      16      r.s.high = r.s.high << 1 | r.s.low >> a;
      17      r.s.low = r.s.low << b >> 1;
      18      int s = -r.all;
      19      c = s;
      20      r.all--;
      21    }
      22  }
      23