Commit 6ae1d471 by Alexandre Oliva Committed by Alexandre Oliva

df-problems.c (df_note_bb_compute): Do not take note of debug uses for whose…

df-problems.c (df_note_bb_compute): Do not take note of debug uses for whose REGs we won't emit DEAD or UNUSED notes.

* df-problems.c (df_note_bb_compute): Do not take note of
debug uses for whose REGs we won't emit DEAD or UNUSED notes.

From-SVN: r186421
parent 6a184afa
2012-04-13 Alexandre Oliva <aoliva@redhat.com> 2012-04-13 Alexandre Oliva <aoliva@redhat.com>
* df-problems.c (df_note_bb_compute): Do not take note of
debug uses for whose REGs we won't emit DEAD or UNUSED notes.
2012-04-13 Alexandre Oliva <aoliva@redhat.com>
PR debug/51570 PR debug/51570
* var-tracking.c (expand_depth): New type. * var-tracking.c (expand_depth): New type.
(onepart_aux, expand_loc_callback_data): Change depth type to it. (onepart_aux, expand_loc_callback_data): Change depth type to it.
......
...@@ -3453,6 +3453,11 @@ df_note_bb_compute (unsigned int bb_index, ...@@ -3453,6 +3453,11 @@ df_note_bb_compute (unsigned int bb_index,
{ {
if (debug_insn > 0) if (debug_insn > 0)
{ {
/* We won't add REG_UNUSED or REG_DEAD notes for
these, so we don't have to mess with them in
debug insns either. */
if (!bitmap_bit_p (artificial_uses, uregno)
&& !df_ignore_stack_reg (uregno))
dead_debug_add (&debug, use, uregno); dead_debug_add (&debug, use, uregno);
continue; continue;
} }
......
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