On 09/26/2015 03:05 AM, Andreas Schwab wrote:
Jeff Law <l...@redhat.com> writes:@@ -9320,7 +9320,9 @@ arc_legitimize_reload_address (rtx *p, machine_mode mode, int opnum, if ((scale-1) & offset) scale = 1; shift = scale >> 1; - offset_base = (offset + (256 << shift)) & (-512 << shift); + offset_base + = ((offset + (256 << shift)) + & ((HOST_WIDE_INT)(-512U << shift)));If HOST_WIDE_INT is bigger than int then this is not the same.
I'll fix this too. jeff