From patchwork Wed Jan 16 21:37:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sterling Augustine X-Patchwork-Id: 213067 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 600282C0092 for ; Thu, 17 Jan 2013 08:37:25 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1358977046; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:Date:To:Subject:User-Agent:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id:From: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:Sender:Delivered-To; bh=cMjMXaPCvdRnSJtdqTuo ioDw6R8=; b=Osd9x5ahZQMk1H0ZhdOzFiLqqtujGAe1RI92ZTMdcqdStOZb/CN6 gof33RtilWXy2X03iYPO6kh4b/WLjEI8c+08N36t5tuM5/qWfjp5ES+0QFOndPKM uumigu8fNvGjXBD/0zuFbB4YjM0ZyDMegE6otW2iw5BcKjJodslXn48= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:X-Google-DKIM-Signature:X-Received:Received:Received:Received:Date:To:Subject:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:From:X-Gm-Message-State:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=AcH7XEJtiGGyM+GG3lcwf/JOSFK72PClviJpJWG4B9wBgmW7K25qKK1xypoHmJ TbNV2oPWHNLYrcSztfe6FBWynxOtstSm/7umeNV3EBt5EbW42iohl7vxRhzVNTSw y4t8adOro04mCd2MlcbfhbJz1n1HXlOpM5nDZTpelGiIU=; Received: (qmail 20772 invoked by alias); 16 Jan 2013 21:37:17 -0000 Received: (qmail 20731 invoked by uid 22791); 16 Jan 2013 21:37:17 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-yh0-f74.google.com (HELO mail-yh0-f74.google.com) (209.85.213.74) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 16 Jan 2013 21:37:06 +0000 Received: by mail-yh0-f74.google.com with SMTP id w68so223275yhw.1 for ; Wed, 16 Jan 2013 13:37:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:date:to:subject:user-agent:mime-version:content-type :content-transfer-encoding:message-id:from:x-gm-message-state; bh=caaDWmU1gslFjlKmq0C0lW3ZNU/qOejCRiucvssBF3I=; b=mkMR0bdwYLOS4tpdgsODVs8tgT9KqVya86mM5TtxOPdOr14+mVCHe5JAseTZuwzrP2 XPv9G/nuJmPkqNPXe/BXFGCN1rcCdl1eFaCKLAlzqim9JJ9xXOXPme1Zx1KRN8gceuZU xLW48Xbsv32tkpIo5tWW4dlAnZcBIWp7dPQtJritpolPLrcD8f5sfoS1RR1LtjxGjW/C dg16IvamUiKd/bQMsVlnDUpJ2sYLzvGfqshYbSUOQuGfMqY1XmJbj0oTBfWB0aGOWpx/ dAtHiaFX04psvvA3htgEGvgrr89vxgSkyo19l/YoOvHLsBr8pKRcOOPNw4WVENy+DL45 O7QA== X-Received: by 10.236.145.70 with SMTP id o46mr1248295yhj.7.1358372225516; Wed, 16 Jan 2013 13:37:05 -0800 (PST) Received: from wpzn3.hot.corp.google.com (216-239-44-65.google.com [216.239.44.65]) by gmr-mx.google.com with ESMTPS id x63si512238yhl.2.2013.01.16.13.37.05 (version=TLSv1 cipher=AES128-SHA bits=128/128); Wed, 16 Jan 2013 13:37:05 -0800 (PST) Received: from sterling.mtv.corp.google.com (sterling.mtv.corp.google.com [172.17.128.179]) by wpzn3.hot.corp.google.com (Postfix) with ESMTP id A09D8100048; Wed, 16 Jan 2013 13:37:04 -0800 (PST) Received: by sterling.mtv.corp.google.com (Postfix, from userid 135279) id 34796A19A8; Wed, 16 Jan 2013 13:37:04 -0800 (PST) Date: Wed, 16 Jan 2013 13:37:04 -0800 To: gcc-patches@gcc.gnu.org, reply@codereview.appspotmail.com Subject: [google 4.7] Fix for PR 8013197 (issue7140044) User-Agent: Heirloom mailx 12.5 6/20/10 MIME-Version: 1.0 Message-Id: <20130116213704.34796A19A8@sterling.mtv.corp.google.com> From: saugustine@google.com (Sterling Augustine) X-Gm-Message-State: ALoCoQneTupRqVwNdfBW0m44pvUzJevit9Vr7wK+6HEHuPtspRGPuf8l2coccWMRe+9FRsU+tM7i7aOCi9gH7lJsTnab0dv9qMD9nCr76/5dWVEmdp82e13XKe8z210AteEPBqJuwOM1TMlG4q4eicjOQ0mMAgFmHYDlvUDLypPJYaZkj3fAteWyNzJ16UpVxSglOQgqcVim X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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; } }