Commit f39b1a1a by Alexandre Oliva Committed by Alexandre Oliva

re PR debug/54551 (DF resets some DEBUG_INSNs unnecessarily)

PR debug/54551
PR debug/54693
* valtrack.c (dead_debug_promote_uses): Assert-check that
global used bit was clear and initialize entry
unconditionally.

From-SVN: r193003
parent 3e55d79b
2012-10-30 Alexandre Oliva <aoliva@redhat.com>
PR debug/54551
PR debug/54693
* valtrack.c (dead_debug_promote_uses): Assert-check that
global used bit was clear and initialize entry
unconditionally.
2012-10-30 Eric Botcazou <ebotcazou@adacore.com> 2012-10-30 Eric Botcazou <ebotcazou@adacore.com>
* cse.c (hash_rtx_cb): Replace RTX_UNCHANGING_P with MEM_READONLY_P in * cse.c (hash_rtx_cb): Replace RTX_UNCHANGING_P with MEM_READONLY_P in
...@@ -380,9 +380,11 @@ dead_debug_promote_uses (struct dead_debug_local *debug) ...@@ -380,9 +380,11 @@ dead_debug_promote_uses (struct dead_debug_local *debug)
if (!debug->global->used) if (!debug->global->used)
debug->global->used = BITMAP_ALLOC (NULL); debug->global->used = BITMAP_ALLOC (NULL);
if (bitmap_set_bit (debug->global->used, REGNO (reg))) bool added = bitmap_set_bit (debug->global->used, REGNO (reg));
entry = dead_debug_global_insert (debug->global, reg, gcc_checking_assert (added);
make_debug_expr_from_rtl (reg));
entry = dead_debug_global_insert (debug->global, reg,
make_debug_expr_from_rtl (reg));
gcc_checking_assert (entry->dtemp); gcc_checking_assert (entry->dtemp);
......
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