1 /* Test for a bug in 4.1 ivcanon code. The loop ends up with two IV, both
2 with a base of &num[1]. In the provess of converting the < condition to =
3 we calculate (base1 - 1) - base0, which overflows and gives 0xffffffffu
4 leading to a bogus loop iteration count. */
11 int can_eliminate_prev
;
15 struct f num
[2] = {{1, 3, 5}, {30, 50, 70}};
21 for (p
= num
; p
< &num
[1]; p
++)
23 x
+= p
->can_eliminate
;