{"id":806545,"url":"http://patchwork.ozlabs.org/api/1.0/patches/806545/?format=json","project":{"id":17,"url":"http://patchwork.ozlabs.org/api/1.0/projects/17/?format=json","name":"GNU Compiler Collection","link_name":"gcc","list_id":"gcc-patches.gcc.gnu.org","list_email":"gcc-patches@gcc.gnu.org","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<alpine.LSU.2.20.1708281349160.14191@zhemvz.fhfr.qr>","date":"2017-08-28T11:50:41","name":"Fix PR81993","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"dbdc1fe9ba1c92afa39fdc8df53307c0f06f3db8","submitter":{"id":4338,"url":"http://patchwork.ozlabs.org/api/1.0/people/4338/?format=json","name":"Richard Biener","email":"rguenther@suse.de"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/gcc/patch/alpine.LSU.2.20.1708281349160.14191@zhemvz.fhfr.qr/mbox/","series":[{"id":146,"url":"http://patchwork.ozlabs.org/api/1.0/series/146/?format=json","date":"2017-08-28T11:50:41","name":"Fix PR81993","version":1,"mbox":"http://patchwork.ozlabs.org/series/146/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/806545/checks/","tags":{},"headers":{"Return-Path":"<gcc-patches-return-461008-incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list gcc-patches@gcc.gnu.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=gcc-patches-return-461008-incoming=patchwork.ozlabs.org@gcc.gnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org\n\theader.b=\"ULFy/jx/\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xgqpm4t19z9sP3\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 28 Aug 2017 21:50:52 +1000 (AEST)","(qmail 69476 invoked by alias); 28 Aug 2017 11:50:46 -0000","(qmail 69467 invoked by uid 89); 28 Aug 2017 11:50:45 -0000","from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by\n\tsourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tMon, 28 Aug 2017 11:50:44 +0000","from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254])\tby\n\tmx1.suse.de (Postfix) with ESMTP id 1ED8FAB1E\tfor\n\t<gcc-patches@gcc.gnu.org>; Mon, 28 Aug 2017 11:50:42 +0000 (UTC)"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender:date\n\t:from:to:subject:message-id:mime-version:content-type; q=dns; s=\n\tdefault; b=ci957m1DbEdKaBgfQgFyFlHAuaAfparq9gQ8ChzVh01IIknT4T7X0\n\tS/n4Xq+Xu/NDXfZVGWw0mZSYgZuASVDja5RgHa5Ku/N7vPJtyJ0YNCO+FXaN1rwM\n\tfq9WXrtDq3W39DIsBhzTJ5wHiyqOhua/ozOjkaN0Pmx3eT/v2aH4ug=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender:date\n\t:from:to:subject:message-id:mime-version:content-type; s=\n\tdefault; bh=NiPbExRCFhcqP7zk9WpTkMrniBY=; b=ULFy/jx/DGkNomcaRgEs\n\tXKjBn5B/nRV1ZN0nWcwKv6rO2ooDUg8XURuO9RIHKPXemFK7wsko+LAYksW1gCkr\n\tVjs5+SavpSzsJMJ8Cb1fN1KCTli05rhDBsNRxo6axEn2gBihUEL4cGld5qLozDTk\n\tzZ+/m056Uqr/2/NdIZnaKkk=","Mailing-List":"contact gcc-patches-help@gcc.gnu.org; run by ezmlm","Precedence":"bulk","List-Id":"<gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org>","List-Archive":"<http://gcc.gnu.org/ml/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-help@gcc.gnu.org>","Sender":"gcc-patches-owner@gcc.gnu.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-11.9 required=5.0 tests=BAYES_00, GIT_PATCH_2,\n\tGIT_PATCH_3, RP_MATCHES_RCVD,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=cure, skills","X-HELO":"mx1.suse.de","Date":"Mon, 28 Aug 2017 13:50:41 +0200 (CEST)","From":"Richard Biener <rguenther@suse.de>","To":"gcc-patches@gcc.gnu.org","Subject":"[PATCH] Fix PR81993","Message-ID":"<alpine.LSU.2.20.1708281349160.14191@zhemvz.fhfr.qr>","User-Agent":"Alpine 2.20 (LSU 67 2015-01-07)","MIME-Version":"1.0","Content-Type":"text/plain; charset=US-ASCII"},"content":"I am testing the following to cure -gsplit-dwarf with early type\npruning.\n\nIt looks like we have zero testsuite coverage for -gsplit-dwarf\n(or my grep skills are broken).\n\nNo testcase, g++.dg/[dwarf2/] isn't set up to do link tests.\n\nBootstrap and regtest running on x86_64-unknown-linux-gnu.\n\nRichard.\n\n2017-08-28  Richard Biener  <rguenther@suse.de>\n\n\tPR debug/81993\n\t* dwarf2out.c (gen_remaining_tmpl_value_param_die_attributes):\n\tDo nothing for removed DIEs.","diff":"Index: gcc/dwarf2out.c\n===================================================================\n--- gcc/dwarf2out.c\t(revision 251374)\n+++ gcc/dwarf2out.c\t(working copy)\n@@ -26037,7 +26037,8 @@ gen_remaining_tmpl_value_param_die_attri\n       j = 0;\n       FOR_EACH_VEC_ELT (*tmpl_value_parm_die_table, i, e)\n \t{\n-\t  if (!tree_add_const_value_attribute (e->die, e->arg))\n+\t  if (!e->die->removed\n+\t      && !tree_add_const_value_attribute (e->die, e->arg))\n \t    {\n \t      dw_loc_descr_ref loc = NULL;\n \t      if (! early_dwarf\n","prefixes":[]}