* flow.c (mark_set_1): Don't record conditionally dead memory.

From-SVN: r34176
This commit is contained in:
Richard Henderson 2000-05-25 16:19:35 -07:00 committed by Richard Henderson
parent 7f1c097d36
commit a0ee3b8335
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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