From: Jeff Law Date: Wed, 29 May 2002 23:04:23 +0000 (-0600) Subject: flow.c (propagate_one_insn): Do not remove a dead insn if it contains a REG_RETVAL... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b862c2aaaf5535e25d8295791d56d76c13be37e1;p=gcc.git flow.c (propagate_one_insn): Do not remove a dead insn if it contains a REG_RETVAL note. * flow.c (propagate_one_insn): Do not remove a dead insn if it contains a REG_RETVAL note. From-SVN: r54028 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2eb88b88875..5d7779fe8bd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2002-05-29 Jeff Law + * flow.c (propagate_one_insn): Do not remove a dead insn if it + contains a REG_RETVAL note. + * haifa-sched (sched_analyze): Remove another useless clearing of SCHED_GROUP_P I missed yesterday. 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;