1/* PR middle-end/59743 */
2
3typedef union {
4  long all;
5  struct {
6    int low;
7    int high;
8  } s;
9} udwords;
10int a, b, c, d;
11void __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
24