[google 4.7] Fix for PR 8013197 (issue7140044)

Sterling Augustine saugustine@google.com
Wed Jan 16 21:37:00 GMT 2013


commit 257910a4dd56ac0c95ad79053a4364a3ff34a674
Author: Sterling Augustine <saugustine@google.com>
Date:   Wed Jan 16 13:22:59 2013 -0800

    Fix for PR 8013197.
    
    Address table entries will already have been removed at this point in
    resolve_addr, so no need to call again.

M	gcc/dwarf2out.c

Tested:
	With full bootstrap and regression test.

ChangeLog:
  <Split this into multiple sections if you're touching directories
  covered by multiple ChangeLog files.>

2013-01-16   Sterling Augustine <saugustine@google.com>

	* gcc/dwarf2out.c (resolve_addr): Delete call to
	remove_addr_table_entry.

diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 026991b..5ca22b2 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -23234,8 +23234,6 @@ resolve_addr (dw_die_ref die)
 	    else
 	      {
 		loc->replaced = 1;
-                if (dwarf_split_debug_info)
-                  remove_loc_list_addr_table_entries (loc->expr);
 		loc->dw_loc_next = *start;
 	      }
 	  }

--
This patch is available for review at http://codereview.appspot.com/7140044



More information about the Gcc-patches mailing list