aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index c8762c8..d9592cf 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -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);