diff options
Diffstat (limited to 'gcc/config/pa/pa.c')
-rw-r--r-- | gcc/config/pa/pa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 0529a86a68c..238d35276e4 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -694,8 +694,7 @@ legitimize_pic_address (rtx orig, enum machine_mode mode, rtx reg) orig = XEXP (XEXP (orig, 0), 0); /* Extract CODE_LABEL. */ orig = XEXP (orig, 0); - REG_NOTES (insn) = gen_rtx_INSN_LIST (REG_LABEL_OPERAND, orig, - REG_NOTES (insn)); + add_reg_note (insn, REG_LABEL_OPERAND, orig); LABEL_NUSES (orig)++; } crtl->uses_pic_offset_table = 1; |