summaryrefslogtreecommitdiff
path: root/gcc/haifa-sched.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-19 22:54:14 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-19 22:54:14 +0000
commitdbc825292924f4dbcb05a59c5837e0aa204ba7af (patch)
tree8f52353b3ec8c7c4ea5aeb1f051f07691e4bbfc4 /gcc/haifa-sched.c
parent123cc979653a789f1e9eb26bac6e276da095263e (diff)
downloadgcc-dbc825292924f4dbcb05a59c5837e0aa204ba7af.tar.gz
* haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
instead of set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27615 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r--gcc/haifa-sched.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index 41a61c459cd..c2c4735efdc 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -3957,11 +3957,7 @@ sched_analyze (head, tail)
for (u = reg_last_sets[i]; u; u = XEXP (u, 1))
add_dependence (insn, XEXP (u, 0), REG_DEP_ANTI);
- if (global_regs[i])
- for (u = reg_last_clobbers[i]; u; u = XEXP (u, 1))
- add_dependence (insn, XEXP (u, 0), REG_DEP_ANTI);
-
- SET_REGNO_REG_SET (reg_pending_sets, i);
+ SET_REGNO_REG_SET (reg_pending_clobbers, i);
}
}