aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2000-06-11 14:02:36 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2000-06-11 14:02:36 +0000
commit68b0ba71a493ef4f5486397f83ea78cb0a4230a4 (patch)
tree2f7f81f2338506096d0386e95399c1acfb385458 /gcc/flow.c
parent9a514f3a1e8787a821f2c7db9566e8ab7fecae23 (diff)
downloadgcc-68b0ba71a493ef4f5486397f83ea78cb0a4230a4.zip
gcc-68b0ba71a493ef4f5486397f83ea78cb0a4230a4.tar.gz
gcc-68b0ba71a493ef4f5486397f83ea78cb0a4230a4.tar.bz2
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
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);