aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@m17n.org>2002-05-21 22:40:53 +0000
committerRichard Henderson <rth@gcc.gnu.org>2002-05-21 15:40:53 -0700
commit159d596446f8366f682b46db9d89a5473bbec279 (patch)
tree592902705ee3de591410b6e32694d08efefa9260
parentcf5124f688366180484680f3b4e82f4bde2b9425 (diff)
downloadgcc-159d596446f8366f682b46db9d89a5473bbec279.zip
gcc-159d596446f8366f682b46db9d89a5473bbec279.tar.gz
gcc-159d596446f8366f682b46db9d89a5473bbec279.tar.bz2
reload1.c (do_output_reload): Run delete_output_reload only if optimizing.
* reload1.c (do_output_reload): Run delete_output_reload only if optimizing. From-SVN: r53707
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/reload1.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index abad0ac..35b2b64 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-21 NIIBE Yutaka <gniibe@m17n.org>
+
+ * reload1.c (do_output_reload): Run delete_output_reload
+ only if optimizing.
+
2002-05-21 Roger Sayle <roger@eyesopen.com>
PR middle-end/6600
diff --git a/gcc/reload1.c b/gcc/reload1.c
index dca052e..b52c5a3 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -6909,6 +6909,7 @@ do_output_reload (chain, rl, j)
rtx pseudo = rl->out_reg;
if (pseudo
+ && optimize
&& GET_CODE (pseudo) == REG
&& ! rtx_equal_p (rl->in_reg, pseudo)
&& REGNO (pseudo) >= FIRST_PSEUDO_REGISTER