diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 37023c81349..fabe4086a00 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-01-17 Jeff Law + + * ree.c (combine_set_extension): Temporarily disable test for + changing number of hard registers. + 2014-01-17 Jan Hubicka PR middle-end/58125 diff --git a/gcc/ree.c b/gcc/ree.c index 19d821ce05a..421eb6cb89b 100644 --- a/gcc/ree.c +++ b/gcc/ree.c @@ -297,11 +297,15 @@ combine_set_extension (ext_cand *cand, rtx curr_insn, rtx *orig_set) else new_reg = gen_rtx_REG (cand->mode, REGNO (SET_DEST (*orig_set))); +#if 0 + /* Rethinking test. Temporarily disabled. */ /* We're going to be widening the result of DEF_INSN, ensure that doing so doesn't change the number of hard registers needed for the result. */ if (HARD_REGNO_NREGS (REGNO (new_reg), cand->mode) - != HARD_REGNO_NREGS (REGNO (orig_src), GET_MODE (SET_DEST (*orig_set)))) + != HARD_REGNO_NREGS (REGNO (SET_DEST (*orig_set)), + GET_MODE (SET_DEST (*orig_set)))) return false; +#endif /* Merge constants by directly moving the constant into the register under some conditions. Recall that RTL constants are sign-extended. */