PR debug/48866
commit2abb79fc589e6dbb9f7f7c5cb4c095dd6764dffa
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Apr 2012 15:56:21 +0000 (13 15:56 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Apr 2012 15:56:21 +0000 (13 15:56 +0000)
tree283216c0c3a9019c8feb931e55ba7d5c90f81f3e
parent9f5c85ce4e04151ad5abda92119c06e560921f7e
PR debug/48866
* df.h (enum debug_temp_where): New.
(dead_debug_init, dead_debug_finish) Declare.
(dead_debug_add, dead_debug_insert_temp): Declare.
(struct dead_debug_use, struct dead_debug): Moved from...
* df-problems.c: ... here.
(df_set_unused_notes_for_mw): Bind debug uses of unused regno
to a debug temp.
(df_create_unused_note): Likewise.
(df_set_dead_notes_for_mw): Move comment where it belongs.
(dead_debug_init): Export.
(dead_debug_reset_uses): New, factored out of...
(dead_debug_finish): ...this.  Export.
(dead_debug_reset): Remove.
(dead_debug_add): Export.
(dead_debug_insert_before): Rename to...
(dead_debug_insert_temp): ... this.  Add where argument.  Export.
Locate stored value for BEFORE_WITH_VALUE.  Avoid repeat inserts.
Return insertion count.
(df_note_bb_compute): Adjust.
* dce.c (word_dce_process_block): Adjust dead debug uses.
(dce_process_block): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186422 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dce.c
gcc/df-problems.c
gcc/df.h