From bd94cb6ec8b9602ca60b47b37a1f39ace60018c7 Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Tue, 2 Jan 2007 18:50:33 +0000 Subject: 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 --- gcc/config/m32r/m32r.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gcc/config/m32r/m32r.c') 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; } -- cgit v1.1