OSDN Git Service

(eliminate_regs): Eliminate regs within a CLOBBER.
authorjrv <jrv@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Mar 1993 07:40:46 +0000 (07:40 +0000)
committerjrv <jrv@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Mar 1993 07:40:46 +0000 (07:40 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3826 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/reload1.c

index 3412c0a..814a113 100644 (file)
@@ -2766,6 +2766,9 @@ eliminate_regs (x, mem_mode, insn)
        if (ep->to_rtx == XEXP (x, 0))
          ep->can_eliminate = 0;
 
+      new = eliminate_regs (XEXP (x, 0), mem_mode, NULL_RTX);
+      if (new != XEXP (x, 0))
+       return gen_rtx (code, GET_MODE (x), new);
       return x;
 
     case ASM_OPERANDS: