* combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
* rs6000.md: Only access a CONST_INT with INTVAL
From-SVN: r30729
+Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
+
+ * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
+ * rs6000.md: Only access a CONST_INT with INTVAL
+
Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
* lcm.c (compute_laterin): Cast bb->aux to size_t not int.
if (i == XVECLEN (p2, 0))
for (i = 0; i < XVECLEN (p2, 0); i++)
- if (SET_DEST (XVECEXP (p2, 0, i)) == SET_SRC (PATTERN (i3)))
+ if ((GET_CODE (XVECEXP (p2, 0, i)) == SET
+ || GET_CODE (XVECEXP (p2, 0, i)) == CLOBBER)
+ && SET_DEST (XVECEXP (p2, 0, i)) == SET_SRC (PATTERN (i3)))
{
combine_merges++;
""
"
{
- int i = exact_log2 (INTVAL (operands[2]));
+ int i;
rtx temp1;
rtx temp2;
- if (GET_CODE (operands[2]) != CONST_INT || i < 0)
+ if (GET_CODE (operands[2]) != CONST_INT)
+ FAIL;
+
+ i = exact_log2 (INTVAL (operands[2]));
+
+ if (i < 0)
FAIL;
temp1 = gen_reg_rtx (SImode);