* combine.c (try_combine): Mask off sign bits when combining
stores to the low and high parts of a two-word value.
From-SVN: r48339
2001-12-27 Geoff Keating <geoffk@redhat.com>
+ * combine.c (try_combine): Mask off sign bits when combining
+ stores to the low and high parts of a two-word value.
+
* expr.c (expand_expr): Don't mark memory for non-constants as
constant.
abort ();
lo &= ~(UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD (1) - 1);
- lo |= INTVAL (SET_SRC (PATTERN (i3)));
+ lo |= (INTVAL (SET_SRC (PATTERN (i3)))
+ & (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD (1) - 1));
}
else if (HOST_BITS_PER_WIDE_INT == BITS_PER_WORD)
hi = INTVAL (SET_SRC (PATTERN (i3)));