OSDN Git Service

(mark_target_live_regs): When scanning insns, ignore
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Sep 1993 22:52:06 +0000 (22:52 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Sep 1993 22:52:06 +0000 (22:52 +0000)
CLOBBERs in addition to USEs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5513 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/reorg.c

index 284c5fc..341383d 100644 (file)
@@ -2475,7 +2475,8 @@ mark_target_live_regs (target, res)
             clobber registers used for parameters.  It isn't worth bothering
             with the unlikely case when it won't.  */
          if ((GET_CODE (real_insn) == INSN
-              && GET_CODE (PATTERN (real_insn)) != USE)
+              && GET_CODE (PATTERN (real_insn)) != USE
+              && GET_CODE (PATTERN (real_insn)) != CLOBBER)
              || GET_CODE (real_insn) == JUMP_INSN
              || GET_CODE (real_insn) == CALL_INSN)
            {