summaryrefslogtreecommitdiff
path: root/gcc/rtlanal.c
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-26 12:12:35 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-26 12:12:35 +0000
commitecbd66eb1353bf5aab4c8ac61b13562b8d24e8c4 (patch)
tree56a80b33e29ce9003b4c0280f2b6c349dcefbb0d /gcc/rtlanal.c
parenta9f11a6277acfe502c5863677ea92feb1580d7f4 (diff)
downloadgcc-ecbd66eb1353bf5aab4c8ac61b13562b8d24e8c4.tar.gz
* rtlanal.c (reg_used_between_p): Don't check for CLOBBERs in
CALL_INSN_FUNCTION_USAGE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104643 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r--gcc/rtlanal.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c
index 92068a1fd31..9064b009a9b 100644
--- a/gcc/rtlanal.c
+++ b/gcc/rtlanal.c
@@ -666,9 +666,7 @@ reg_used_between_p (rtx reg, rtx from_insn, rtx to_insn)
for (insn = NEXT_INSN (from_insn); insn != to_insn; insn = NEXT_INSN (insn))
if (INSN_P (insn)
&& (reg_overlap_mentioned_p (reg, PATTERN (insn))
- || (CALL_P (insn)
- && (find_reg_fusage (insn, USE, reg)
- || find_reg_fusage (insn, CLOBBER, reg)))))
+ || (CALL_P (insn) && find_reg_fusage (insn, USE, reg))))
return 1;
return 0;
}