diff options
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index 4e7086f6c6b..b3d064d3f11 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -751,7 +751,7 @@ do_SUBST_MODE (rtx *into, enum machine_mode newval) buf->kind = UNDO_MODE; buf->where.r = into; buf->old_contents.m = oldval; - PUT_MODE (*into, newval); + adjust_reg_mode (*into, newval); buf->next = undobuf.undos, undobuf.undos = buf; } @@ -2984,7 +2984,7 @@ try_combine (rtx i3, rtx i2, rtx i1, int *new_direct_jump_p) { struct undo *buf; - PUT_MODE (regno_reg_rtx[REGNO (i2dest)], old_mode); + adjust_reg_mode (regno_reg_rtx[REGNO (i2dest)], old_mode); buf = undobuf.undos; undobuf.undos = buf->next; buf->next = undobuf.frees; @@ -3826,7 +3826,7 @@ undo_all (void) *undo->where.i = undo->old_contents.i; break; case UNDO_MODE: - PUT_MODE (*undo->where.r, undo->old_contents.m); + adjust_reg_mode (*undo->where.r, undo->old_contents.m); break; default: gcc_unreachable (); |