Commit a249decd by Clinton Popetz Committed by Clinton Popetz

flow.c (propagate_block): When a prologue/epilogue insn is marked dead...

        * flow.c (propagate_block): When a prologue/epilogue insn
        is marked dead, unconditionally clear libcall_is_dead and
        insn_is_dead, and only dump rtl if warnings aren't being
        suppressed.

From-SVN: r31327
parent 7c7ef435
2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
* flow.c (propagate_block): When a prologue/epilogue insn
is marked dead, unconditionally clear libcall_is_dead and
insn_is_dead, and only dump rtl if warnings aren't being
suppressed.
Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz> Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
* i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD. * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
......
...@@ -3295,14 +3295,17 @@ propagate_block (old, first, last, significant, bnum, flags) ...@@ -3295,14 +3295,17 @@ propagate_block (old, first, last, significant, bnum, flags)
/* We almost certainly don't want to delete prologue or epilogue /* We almost certainly don't want to delete prologue or epilogue
instructions. Warn about probable compiler losage. */ instructions. Warn about probable compiler losage. */
if ((flags & PROP_KILL_DEAD_CODE) if (insn_is_dead
&& insn_is_dead
&& reload_completed && reload_completed
&& (HAVE_epilogue || HAVE_prologue) && (HAVE_epilogue || HAVE_prologue)
&& prologue_epilogue_contains (insn)) && prologue_epilogue_contains (insn))
{ {
warning ("ICE: would have deleted prologue/epilogue insn"); if (flags & PROP_KILL_DEAD_CODE)
debug_rtx (insn); {
warning ("ICE: would have deleted prologue/epilogue insn");
if (!inhibit_warnings)
debug_rtx (insn);
}
libcall_is_dead = insn_is_dead = 0; libcall_is_dead = insn_is_dead = 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment