aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtlanal.c
diff options
context:
space:
mode:
authorJ"orn Rennecke <joern.rennecke@st.com>2005-09-26 12:12:35 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2005-09-26 13:12:35 +0100
commit76dd592360fedddbf7a6573245ab84c8219b2ee1 (patch)
tree56a80b33e29ce9003b4c0280f2b6c349dcefbb0d /gcc/rtlanal.c
parent6cec5cb56a426a0d2526b9ea3bde04fc0fc21e5c (diff)
downloadgcc-76dd592360fedddbf7a6573245ab84c8219b2ee1.zip
gcc-76dd592360fedddbf7a6573245ab84c8219b2ee1.tar.gz
gcc-76dd592360fedddbf7a6573245ab84c8219b2ee1.tar.bz2
rtlanal.c (reg_used_between_p): Don't check for CLOBBERs in CALL_INSN_FUNCTION_USAGE.
* rtlanal.c (reg_used_between_p): Don't check for CLOBBERs in CALL_INSN_FUNCTION_USAGE. From-SVN: r104643
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 92068a1..9064b00 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;
}