On 11/14/2014 03:41 PM, Kai Tietz wrote:
-      gcc_assert (val1->v.val_unsigned == DWARF2_ADDR_SIZE);
+      gcc_assert (val1->v.val_unsigned
+              == (unsigned HOST_WIDE_INT) DWARF2_ADDR_SIZE);

These changes should not be necessary; the warning should check the folded versions of the operands so it can tell that the rhs is constant and non-negative.

Jason

Reply via email to