OSDN Git Service

* config/alpha/alpha.md, arm/arm.c, darwin.c, frv/frv.md,
[pf3gnuchains/gcc-fork.git] / gcc / config / arm / arm.c
index c7bf05f..c7a1ec2 100644 (file)
@@ -3295,8 +3295,8 @@ legitimize_pic_address (rtx orig, enum machine_mode mode, rtx reg)
 #endif
       /* Put a REG_EQUAL note on this insn, so that it can be optimized
         by loop.  */
-      REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_EQUAL, orig,
-                                           REG_NOTES (insn));
+      set_unique_reg_note (insn, REG_EQUAL, orig);
+
       return reg;
     }
   else if (GET_CODE (orig) == CONST)