flow.c (mark_used_regs): Don't call find_auto_inc after reload has run.

* flow.c (mark_used_regs): Don't call find_auto_inc after reload
has run.

From-SVN: r34492
This commit is contained in:
Richard Earnshaw 2000-06-11 14:02:36 +00:00 committed by Richard Earnshaw
parent 9a514f3a1e
commit 68b0ba71a4
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2000-06-11 Richard Earnshaw <rearnsha@arm.com>
* flow.c (mark_used_regs): Don't call find_auto_inc after reload
has run.
2000-06-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* bb-reorder.c (build_scope_forest): Initialize variable

View File

@ -5254,7 +5254,7 @@ mark_used_regs (pbi, x, cond, insn)
}
#ifdef AUTO_INC_DEC
if (flags & PROP_AUTOINC)
if (! reload_completed && (flags & PROP_AUTOINC))
find_auto_inc (pbi, x, insn);
#endif
break;
@ -5287,7 +5287,7 @@ mark_used_regs (pbi, x, cond, insn)
if (GET_CODE (testreg) == MEM)
{
#ifdef AUTO_INC_DEC
if (flags & PROP_AUTOINC)
if (! reload_completed && (flags & PROP_AUTOINC))
find_auto_inc (pbi, testreg, insn);
#endif
mark_used_regs (pbi, XEXP (testreg, 0), cond, insn);