aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-05-25 16:19:35 -0700
committerRichard Henderson <rth@gcc.gnu.org>2000-05-25 16:19:35 -0700
commita0ee3b83359ace5b2fb7cd0d400d99472e5738c3 (patch)
treee9e6b6c1c3a05a39b8ce15aef72a2bd28f8b5522 /gcc
parent7f1c097d36682769f1f3f8fd72c7845d545104ed (diff)
downloadgcc-a0ee3b83359ace5b2fb7cd0d400d99472e5738c3.zip
gcc-a0ee3b83359ace5b2fb7cd0d400d99472e5738c3.tar.gz
gcc-a0ee3b83359ace5b2fb7cd0d400d99472e5738c3.tar.bz2
* flow.c (mark_set_1): Don't record conditionally dead memory.
From-SVN: r34176
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/flow.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 287cfb8..084920a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-25 Richard Henderson <rth@cygnus.com>
+
+ * flow.c (mark_set_1): Don't record conditionally dead memory.
+
2000-05-25 Jan Hubicka <jh@suse.cz>
* combine.c (try_combine): Use any_condjump_p, any_uncondjump_p
diff --git a/gcc/flow.c b/gcc/flow.c
index ec621e5..b4ae779 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -4252,6 +4252,8 @@ mark_set_1 (pbi, code, reg, cond, insn, flags)
invalidate_mems_from_autoinc (pbi, insn);
if (GET_CODE (reg) == MEM && ! side_effects_p (reg)
+ /* ??? With more effort we could track conditional memory life. */
+ && ! cond
/* We do not know the size of a BLKmode store, so we do not track
them for redundant store elimination. */
&& GET_MODE (reg) != BLKmode