* Take REG_INC notes into account.
From-SVN: r34603
This commit is contained in:
parent
7e585d16ce
commit
8ba7b39619
@ -1,3 +1,7 @@
|
||||
Mon Jun 19 23:26:40 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
|
||||
|
||||
* Take REG_INC notes into account.
|
||||
|
||||
2000-06-19 Zack Weinberg <zack@wolery.cumb.org>
|
||||
|
||||
* c-parse.in (undeclared_variable_notice): Moved to c-typeck.c.
|
||||
|
10
gcc/flow.c
10
gcc/flow.c
@ -4152,8 +4152,18 @@ mark_set_regs (pbi, x, insn)
|
||||
rtx x, insn;
|
||||
{
|
||||
rtx cond = NULL_RTX;
|
||||
rtx link;
|
||||
enum rtx_code code;
|
||||
|
||||
if (insn)
|
||||
for (link = REG_NOTES (insn); link; link = XEXP (link, 1))
|
||||
{
|
||||
if (REG_NOTE_KIND (link) == REG_INC)
|
||||
mark_set_1 (pbi, SET, XEXP (link, 0),
|
||||
(GET_CODE (x) == COND_EXEC
|
||||
? COND_EXEC_TEST (x) : NULL_RTX),
|
||||
insn, pbi->flags);
|
||||
}
|
||||
retry:
|
||||
switch (code = GET_CODE (x))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user