aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/m32r/m32r.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2007-01-02 18:50:33 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2007-01-02 18:50:33 +0000
commitbd94cb6ec8b9602ca60b47b37a1f39ace60018c7 (patch)
tree16497f3f7d5f4c242ea5e0918281c6bbae21fda4 /gcc/config/m32r/m32r.c
parent61465e7563e79c8ce885f11f98b3ab639ddb0700 (diff)
downloadgcc-bd94cb6ec8b9602ca60b47b37a1f39ace60018c7.zip
gcc-bd94cb6ec8b9602ca60b47b37a1f39ace60018c7.tar.gz
gcc-bd94cb6ec8b9602ca60b47b37a1f39ace60018c7.tar.bz2
alpha.md, [...]: Always use set_unique_reg_note to add REG_EQUAL notes.
* config/alpha/alpha.md, arm/arm.c, darwin.c, frv/frv.md, m32r/m32r.c, m32r/m32r.c, mn10300/mn10300.md, pa/pa.c, rs6000/rs6000.c, s390/s390.md, sh/sh.md, sparc/sparc.c: Always use set_unique_reg_note to add REG_EQUAL notes. From-SVN: r120353
Diffstat (limited to 'gcc/config/m32r/m32r.c')
-rw-r--r--gcc/config/m32r/m32r.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/m32r/m32r.c b/gcc/config/m32r/m32r.c
index e7e1a2d..a4d2039 100644
--- a/gcc/config/m32r/m32r.c
+++ b/gcc/config/m32r/m32r.c
@@ -1681,8 +1681,7 @@ m32r_legitimize_pic_address (rtx orig, rtx reg)
#if 0
/* 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);
#endif
return reg;
}