From patchwork Wed Jan 16 21:37:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [google,4.7] Fix for PR 8013197 (issue7140044) Date: Wed, 16 Jan 2013 11:37:04 -0000 From: Sterling Augustine X-Patchwork-Id: 213067 Message-Id: <20130116213704.34796A19A8@sterling.mtv.corp.google.com> To: gcc-patches@gcc.gnu.org, reply@codereview.appspotmail.com commit 257910a4dd56ac0c95ad79053a4364a3ff34a674 Author: Sterling Augustine 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: 2013-01-16 Sterling Augustine * gcc/dwarf2out.c (resolve_addr): Delete call to remove_addr_table_entry. --- This patch is available for review at http://codereview.appspot.com/7140044 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; } }