OSDN Git Service

* cse.c (is_dead_reg): Change into inline function that is not
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Oct 2010 07:17:54 +0000 (07:17 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Oct 2010 07:17:54 +0000 (07:17 +0000)
commita52dfddb5ace2b5f7b9c90ce8a1d306d1b2f936c
tree4c0b4bb96185a3d569106623c3fc4e30cfc0e171
parent8cb78e283c17b81509565a53ddbf9dacec10c67e
* cse.c (is_dead_reg): Change into inline function that is not
called through for_each_rtx.
(set_live_p): Adjust caller.
(insn_live_p): Don't reset DEBUG_INSNs here.
(struct dead_debug_insn_data): New data.
(count_stores, is_dead_debug_insn, replace_dead_reg): New functions.
(delete_trivially_dead_insns): If there is just one setter for the
dead reg that is referenced by some DEBUG_INSNs, create a DEBUG_EXPR
and add DEBUG_INSN for it right before the removed setter and
use the DEBUG_EXPR instead of the dead pseudo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165452 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cse.c