summaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-29 23:04:23 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-29 23:04:23 +0000
commit51d18c441614351fd11495e0b4e2e2b0c24cd6a4 (patch)
treec56ed99ab9feff8ab47ce412b22df00cda619ea5 /gcc/flow.c
parent61940a3647875db73c319ed60eedcf78ee3c2184 (diff)
downloadgcc-51d18c441614351fd11495e0b4e2e2b0c24cd6a4.tar.gz
* flow.c (propagate_one_insn): Do not remove a dead insn if it
contains a REG_RETVAL note. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54028 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index a9f94a6201f..ed2b24f7180 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -1643,7 +1643,7 @@ propagate_one_insn (pbi, insn)
if (libcall_is_dead)
prev = propagate_block_delete_libcall ( insn, note);
- else
+ else if (!note)
propagate_block_delete_insn (insn);
return prev;