mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-18 05:48:55 +08:00
haifa-sched.c (sched_analyze_1): Fix last change -- add clobber dependancies to sets in the non-hard-reg case too.
* haifa-sched.c (sched_analyze_1): Fix last change -- add clobber dependancies to sets in the non-hard-reg case too. From-SVN: r25648
This commit is contained in:
parent
24883a4a12
commit
7399257b1e
@ -1,3 +1,8 @@
|
||||
Mon Mar 8 23:43:47 1999 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* haifa-sched.c (sched_analyze_1): Fix last change -- add clobber
|
||||
dependancies to sets in the non-hard-reg case too.
|
||||
|
||||
Mon Mar 8 18:55:21 1999 Marc Espie <espie@cvs.openbsd.org>
|
||||
|
||||
* config/openbsd.h (HANDLE_SYSV_PRAGMA): Define.
|
||||
|
@ -3392,7 +3392,11 @@ sched_analyze_1 (x, insn)
|
||||
add_dependence (insn, XEXP (u, 0), REG_DEP_OUTPUT);
|
||||
|
||||
if (code == SET)
|
||||
SET_REGNO_REG_SET (reg_pending_sets, regno);
|
||||
{
|
||||
for (u = reg_last_clobbers[regno]; u; u = XEXP (u, 1))
|
||||
add_dependence (insn, XEXP (u, 0), REG_DEP_OUTPUT);
|
||||
SET_REGNO_REG_SET (reg_pending_sets, regno);
|
||||
}
|
||||
else
|
||||
SET_REGNO_REG_SET (reg_pending_clobbers, regno);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user