projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bcff23
)
(reg_unused_after): Handle JUMP_INSN inside a sequence.
author
Jim Wilson
<wilson@gcc.gnu.org>
Wed, 24 Jul 1996 00:04:53 +0000
(17:04 -0700)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Wed, 24 Jul 1996 00:04:53 +0000
(17:04 -0700)
From-SVN: r12554
gcc/config/sh/sh.c
patch
|
blob
|
history
diff --git
a/gcc/config/sh/sh.c
b/gcc/config/sh/sh.c
index 6969a9c89e64992a160057aaf73da0b9e650c1b9..6b8cc724a99ad8f0750c9855f05e33ae718c9ac3 100644
(file)
--- a/
gcc/config/sh/sh.c
+++ b/
gcc/config/sh/sh.c
@@
-2339,6
+2339,12
@@
reg_unused_after (reg, insn)
if (GET_CODE (this_insn) == CALL_INSN)
code = CALL_INSN;
+ else if (GET_CODE (this_insn) == JUMP_INSN)
+ {
+ if (INSN_ANNULLED_BRANCH_P (this_insn))
+ return 0;
+ code = JUMP_INSN;
+ }
if (set && reg_overlap_mentioned_p (reg, SET_SRC (set)))
return 0;
@@
-2355,6
+2361,8
@@
reg_unused_after (reg, insn)
}
if (retval == 1)
return 1;
+ else if (code == JUMP_INSN)
+ return 0;
}
else if (GET_RTX_CLASS (code) == 'i')
{