Commit 68b0ba71 by Richard Earnshaw Committed by Richard Earnshaw

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
parent 9a514f3a
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> 2000-06-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* bb-reorder.c (build_scope_forest): Initialize variable * bb-reorder.c (build_scope_forest): Initialize variable
......
...@@ -5254,7 +5254,7 @@ mark_used_regs (pbi, x, cond, insn) ...@@ -5254,7 +5254,7 @@ mark_used_regs (pbi, x, cond, insn)
} }
#ifdef AUTO_INC_DEC #ifdef AUTO_INC_DEC
if (flags & PROP_AUTOINC) if (! reload_completed && (flags & PROP_AUTOINC))
find_auto_inc (pbi, x, insn); find_auto_inc (pbi, x, insn);
#endif #endif
break; break;
...@@ -5287,7 +5287,7 @@ mark_used_regs (pbi, x, cond, insn) ...@@ -5287,7 +5287,7 @@ mark_used_regs (pbi, x, cond, insn)
if (GET_CODE (testreg) == MEM) if (GET_CODE (testreg) == MEM)
{ {
#ifdef AUTO_INC_DEC #ifdef AUTO_INC_DEC
if (flags & PROP_AUTOINC) if (! reload_completed && (flags & PROP_AUTOINC))
find_auto_inc (pbi, testreg, insn); find_auto_inc (pbi, testreg, insn);
#endif #endif
mark_used_regs (pbi, XEXP (testreg, 0), cond, insn); mark_used_regs (pbi, XEXP (testreg, 0), cond, insn);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment