OSDN Git Service

PR debug/46171
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Nov 2010 19:04:44 +0000 (19:04 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Nov 2010 19:04:44 +0000 (19:04 +0000)
commit548e6764d940560de40f8ad37f1e77743876b796
treef7c935d24979694daebd7751d1df497001c7acb3
parent66166640687f7f844a8e60a23f409146bf1b4e66
PR debug/46171
* df-problems.c (struct dead_debug_use, struct dead_debug): Move
earlier.
(df_set_unused_notes_for_mw, df_create_unused_note): Add DEBUG
argument, call dead_debug_reset when adding REG_UNUSED note.
(dead_debug_reset): New function.
(df_note_bb_compute): Adjust df_set_unused_notes_for_mw and
df_create_unused_note callers.

* gcc.dg/pr46171.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166504 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/df-problems.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr46171.c [new file with mode: 0644]