diff options
Diffstat (limited to 'gcc/config/pa/pa.c')
-rw-r--r-- | gcc/config/pa/pa.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 29e449d..59f9dfd 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -662,7 +662,7 @@ legitimize_pic_address (rtx orig, enum machine_mode mode, rtx reg) insn = emit_move_insn (reg, pic_ref); /* Put a REG_EQUAL note on this insn, so that it can be optimized. */ - REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_EQUAL, orig, REG_NOTES (insn)); + set_unique_reg_note (insn, REG_EQUAL, orig); return reg; } @@ -1978,8 +1978,7 @@ emit_move_sequence (rtx *operands, enum machine_mode mode, rtx scratch_reg) } } - REG_NOTES (insn) - = gen_rtx_EXPR_LIST (REG_EQUAL, op1, REG_NOTES (insn)); + set_unique_reg_note (insn, REG_EQUAL, op1); return 1; } |