* combine.c (expand_field_assignment): Do not discard SUBREGs
while computing nonzero_bits.
From-SVN: r31304
+2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
+
+ * combine.c (expand_field_assignment): Do not discard SUBREGs
+ while computing nonzero_bits.
+
2000-01-09 Nick Clifton <nickc@cygnus.com>
* config/arm/arm.c: Fix compile time warnings about signed vs
/* A SUBREG between two modes that occupy the same numbers of words
can be done by moving the SUBREG to the source. */
else if (GET_CODE (SET_DEST (x)) == SUBREG
+ /* We need SUBREGs to compute nonzero_bits properly. */
+ && nonzero_sign_valid
&& (((GET_MODE_SIZE (GET_MODE (SET_DEST (x)))
+ (UNITS_PER_WORD - 1)) / UNITS_PER_WORD)
== ((GET_MODE_SIZE (GET_MODE (SUBREG_REG (SET_DEST (x))))