]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
flow.c (mark_set_1): Do not record BLKmode stores as dead store elimination candidates.
authorJeffrey A Law <law@cygnus.com>
Tue, 25 May 1999 13:14:40 +0000 (13:14 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 25 May 1999 13:14:40 +0000 (07:14 -0600)

        * flow.c (mark_set_1): Do not record BLKmode stores as dead
        store elimination candidates.

From-SVN: r27140

gcc/ChangeLog
gcc/flow.c

index 6cdd3c4a3b4932f1abfa35f8137d950ec6fa081d..11ac9b6180cb3de9d06124ebdd86634c5e9c4066 100644 (file)
@@ -1,3 +1,8 @@
+Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * flow.c (mark_set_1): Do not record BLKmode stores as dead
+       store elimination candidates.
+
 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
 
        * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if 
index b46c87ea46ac9c7139e85ab428ca98d7c82948dd..a519ea8db8c0d5ecfbacd9dfa6d80a6a6e27c18a 100644 (file)
@@ -3258,6 +3258,9 @@ mark_set_1 (needed, dead, x, insn, significant)
     invalidate_mems_from_autoinc (insn);
 
   if (GET_CODE (reg) == MEM && ! side_effects_p (reg)
+      /* We do not know the size of a BLKmode store, so we do not track
+        them for redundant store elimination.  */
+      && GET_MODE (reg) != BLKmode
       /* There are no REG_INC notes for SP, so we can't assume we'll see 
         everything that invalidates it.  To be safe, don't eliminate any
         stores though SP; none of them should be redundant anyway.  */