Properly set mode for invalid_regno_rtx in reload_cse_invalidate_regno
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 2 May 1997 16:55:25 +0000 (16:55 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 2 May 1997 16:55:25 +0000 (16:55 +0000)
From-SVN: r14008

gcc/reload1.c

index 2054edf28578c374d09d888498deb231fb748171..8489fe4e755bed8ec19c8a25b3e8c649587e8c72 100644 (file)
@@ -7630,7 +7630,7 @@ reload_cse_invalidate_regno (regno, mode, clobber)
        {
          if (XEXP (x, 0) != 0)
            {
-             PUT_MODE (invalidate_regno_rtx, GET_MODE (XEXP (x, 0)));
+             PUT_MODE (invalidate_regno_rtx, GET_MODE (x));
              REGNO (invalidate_regno_rtx) = i;
              if (refers_to_regno_p (regno, endregno, invalidate_regno_rtx,
                                     NULL_PTR))