(attach_deaths_insn): Don't call attach_deaths for CLOBBERs.
From-SVN: r1846
This commit is contained in:
parent
d887e8089b
commit
5856c581ba
12
gcc/sched.c
12
gcc/sched.c
@ -2189,15 +2189,15 @@ attach_deaths_insn (insn)
|
||||
|
||||
attach_deaths (SET_DEST (XVECEXP (x, 0, i)), insn, 1);
|
||||
}
|
||||
else if (code == CLOBBER)
|
||||
attach_deaths (XEXP (XVECEXP (x, 0, i), 0), insn, 1);
|
||||
else
|
||||
/* Flow does not add REG_DEAD notes to registers that die in
|
||||
clobbers, so we can't either. */
|
||||
else if (code != CLOBBER)
|
||||
attach_deaths (XVECEXP (x, 0, i), insn, 0);
|
||||
}
|
||||
}
|
||||
else if (code == CLOBBER)
|
||||
attach_deaths (XEXP (x, 0), insn, 1);
|
||||
else
|
||||
/* Flow does not add REG_DEAD notes to registers that die in
|
||||
clobbers, so we can't either. */
|
||||
else if (code != CLOBBER)
|
||||
attach_deaths (x, insn, 0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user