aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1993-09-28 15:52:06 -0700
committerJim Wilson <wilson@gcc.gnu.org>1993-09-28 15:52:06 -0700
commitf87ef537dd0024b45c28e9eb99393ff747519313 (patch)
tree9b2128a2196fd084a280da8c2b8e5c11c81da18d
parent334eb1429838a9e89acbc0080f90097a66c9b51f (diff)
downloadgcc-f87ef537dd0024b45c28e9eb99393ff747519313.zip
gcc-f87ef537dd0024b45c28e9eb99393ff747519313.tar.gz
gcc-f87ef537dd0024b45c28e9eb99393ff747519313.tar.bz2
(mark_target_live_regs): When scanning insns, ignore
CLOBBERs in addition to USEs. From-SVN: r5513
-rw-r--r--gcc/reorg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c
index 284c5fc..341383d 100644
--- a/gcc/reorg.c
+++ b/gcc/reorg.c
@@ -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)
{