From 3ce7c5a21da0c2e0d865a9457a8fda2529abb959 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Tue, 25 May 1999 13:14:40 +0000 Subject: [PATCH] flow.c (mark_set_1): Do not record BLKmode stores as dead store elimination candidates. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit � * flow.c (mark_set_1): Do not record BLKmode stores as dead store elimination candidates. From-SVN: r27140 --- gcc/ChangeLog | 5 +++++ gcc/flow.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6cdd3c4a3b4..11ac9b6180c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if diff --git a/gcc/flow.c b/gcc/flow.c index b46c87ea46a..a519ea8db8c 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -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. */