]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/gcse.c
re PR rtl-optimization/27073 (invalid gcse manipulation of REG_EQUIV notes)
[gcc.git] / gcc / gcse.c
index f0e25a214ea34535c9087b979d2c24b27b1d1ceb..0dbbe0bb6e1fdc0898eba3ddca1412b31954d1d2 100644 (file)
@@ -2642,7 +2642,7 @@ find_used_regs (rtx *xptr, void *data ATTRIBUTE_UNUSED)
 static int
 try_replace_reg (rtx from, rtx to, rtx insn)
 {
-  rtx note = find_reg_equal_equiv_note (insn);
+  rtx note = find_reg_note (insn, REG_EQUAL, NULL);
   rtx src = 0;
   int success = 0;
   rtx set = single_set (insn);
This page took 0.026569 seconds and 5 git commands to generate.