Message ID | 9823f46c-0378-44be-8300-8e6752938525@app.fastmail.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2801403wrt; Tue, 10 Jan 2023 07:12:01 -0800 (PST) X-Google-Smtp-Source: AMrXdXtcgQCfZqILH0DgkmNVkF6vMDNsFlOEx4aQt9TW8FX4cSMAF4Wzw6RxNAScE3OQBpjVG6dD X-Received: by 2002:a17:907:a705:b0:7bd:ece7:ae66 with SMTP id vw5-20020a170907a70500b007bdece7ae66mr64420941ejc.34.1673363521265; Tue, 10 Jan 2023 07:12:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673363521; cv=none; d=google.com; s=arc-20160816; b=PE8C1HWzUrlf0MTI1hcmaTPmrKKcQar9mKm+HshQAEkL36Tgp104wquu1Cjyu4eztQ H9AOf5X4XIxDRrLRXb+JSV1KXIGSIl6e7qtCEvSofr61vQDP0P46xRdYMbmgFPgq7B9f cY6qhpbP/R23+H49bb4bqv3Lxa2A/q5QgKEF2t6XVjyUi509FLdaG5/1ZF+fX+cJ+xAd GWQLPGjC0cO/L6PR3I78dS//G4gCFusCo9j+SNPOJacpmh/AcL+0hCLfkj24xaDgzhm5 7xgkOtLkS18+ZjxzrnaCAX4yryFuqCuRopnxYt87CetkkjvsWa+7f//ORhOhqeOZ4dcy lKHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:to:from:date:message-id :mime-version:user-agent:feedback-id:dkim-signature:dkim-signature :dmarc-filter:delivered-to; bh=MZtaGZZ6TYeI9+9E2rhwSPiJElminhCHxkAmSaUMBG8=; b=Jul3xfdr+w2nHOCSMPNM5tl6uEzXSPuhkBghpeDC5w/8yqq9Q+GtXfX5yMj+dK/2FF gt709ZvWfLvZY3sTWPwlaioBlY4efvrrh0bYfEg3TGpEPKIQCc8qI4yDlPaYOx/nOcxU eDyCAKwjShIYeKGdqbzYxuXL75x5M8vufHifiB8odlRq+jjYJBl0G8ZoG8ZtNwSlSmoE EqX9WX/X+oOqgjdBSner+g9ckLy0OnWgOVzxErx0kPwlR835rG9tna8aWMcSVcBywH6g Ubh6kL4krBifOvcLk99ZXRn9eWc1eOMeCSXFK+txjADUEIttSH4ZZqdI18rDFHoO15y3 02qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@catmur.uk header.s=fm3 header.b=KFTToHLd; dkim=fail header.i=@messagingengine.com header.s=fm3 header.b=YpXB8CRQ; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id bb6-20020a1709070a0600b0084deaf3ad0asi3607257ejc.181.2023.01.10.07.12.01 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 07:12:01 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=fail header.i=@catmur.uk header.s=fm3 header.b=KFTToHLd; dkim=fail header.i=@messagingengine.com header.s=fm3 header.b=YpXB8CRQ; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 42FC2394800C for <ouuuleilei@gmail.com>; Tue, 10 Jan 2023 15:11:55 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by sourceware.org (Postfix) with ESMTPS id 1F849385B514 for <gcc-patches@gcc.gnu.org>; Tue, 10 Jan 2023 15:11:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1F849385B514 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=catmur.uk Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=catmur.uk Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 22953320095D for <gcc-patches@gcc.gnu.org>; Tue, 10 Jan 2023 10:11:27 -0500 (EST) Received: from imap48 ([10.202.2.98]) by compute5.internal (MEProxy); Tue, 10 Jan 2023 10:11:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=catmur.uk; h=cc :content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm3; t= 1673363486; x=1673449886; bh=MZtaGZZ6TYeI9+9E2rhwSPiJElminhCHxkA mSaUMBG8=; b=KFTToHLdMUp64DFsAV08jTqSdvUoM9wrmqAQH/JvoTliwjqLicT l84c5rDIc19fw99zCG4ANUpIifL1QpEWtXZl2aekkgXxPHNv4MeFg4SN9gtwmFes ZgUHrOyFqtGt0Iq/TFjkWJbQaztv0rrOuuvWsOhKPf0aMYgVasPub7vL1lgyzJBQ SQyfbADUnmr9PQ41FAu2kW4AVPg5TObc9LpGzFa7PmRuzDeg6Qf0mWoquqLJToWH ZY/wD4Zh74Vu4RyXg7e3iMgWIK9Lf4vvyN66SNGFGoWFwZihgZT15pz+BRr7pFHH oJYAkWn7/gaA3oQjBPeOLACTnEe+9dRsc9g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1673363486; x= 1673449886; bh=MZtaGZZ6TYeI9+9E2rhwSPiJElminhCHxkAmSaUMBG8=; b=Y pXB8CRQ6KOI432ijNtd3o2MnS8/xg5urIibwsfVO7Bd6zzPKeQGP2b9KhnC4e7U1 lYUQffzMLFU6y+31Rr7ufts5D1AIX8WebHkRVXRV14LSfwjJeLGHGsUT5t1wZOFw EanwJeiSomkG15oLjG8olnRFSp9m5FDaBzWRAQQx+IiSzm7dJA8LWEjK/AnTjKvQ a+0IVVnLVbXRkYpG6HvorjUtc4lmyZCiGcCX0PkEgv9s2viaw2uJhdsqo3BkeRqO WNBeRLVZgY0R6sDzanJoaX3dpnTctS3lV+S7ZI0xh9c9ozWA7NbSvMchTBOxtNpJ 7gpwKAoyoT5DyASqXeipg== X-ME-Sender: <xms:HoC9Y8Ja8p-4xFH6-5sw5C1L1-e3LQb-il2O3WTLTf5bipD684cEVQ> <xme:HoC9Y8IMiQZKon7e2rDUuRGAfau76Rxa74ejihm28PAFkzOE5wT8BwOp5WemX7Tqp YpDXlz9NyeBNBeY> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrledvgddtkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesmhdtreerre ertdenucfhrhhomhepfdfgugcuvegrthhmuhhrfdcuoegvugestggrthhmuhhrrdhukheq necuggftrfgrthhtvghrnhepueekffegjefhkeeiuedtleefgfelvdelledtgefgvdetje ekkeegffdvgfeutdehnecuffhomhgrihhnpegufigrrhhfshhtugdrohhrghdpghhnuhdr ohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gvugestggrthhmuhhrrdhukh X-ME-Proxy: <xmx:HoC9Y8sSCeAMT-NZ-bMVtpI9dOk25rY-U7R4P-TCM5MzWKknp0rEcQ> <xmx:HoC9Y5bOxizC4hgfXA337bcVzPsBOdCWVHAX9waTYfOUXiFRndRaVg> <xmx:HoC9YzZ-zHCR0Z89xVPqIjhfsaNLNYW6Jh312svWu4BxBpu78fDOFg> <xmx:HoC9Y8mb9kzaD4XeLB8CfF6ZFmaYAGqTKsNz39rGmi13IG9yttmsDw> Feedback-ID: i5729427b:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 5474631A0063; Tue, 10 Jan 2023 10:11:26 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1185-g841157300a-fm-20221208.002-g84115730 Mime-Version: 1.0 Message-Id: <9823f46c-0378-44be-8300-8e6752938525@app.fastmail.com> Date: Tue, 10 Jan 2023 15:10:42 +0000 From: "Ed Catmur" <ed@catmur.uk> To: gcc-patches@gcc.gnu.org Subject: [PATCH] gcc: emit DW_AT_name for DW_TAG_GNU_formal_parameter_pack [PR70536] Content-Type: multipart/mixed; boundary=51501b0c8efc4bbd9c9fe519426a8589 X-Spam-Status: No, score=-13.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_SHORT, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754648827770998171?= X-GMAIL-MSGID: =?utf-8?q?1754648827770998171?= |
Series |
gcc: emit DW_AT_name for DW_TAG_GNU_formal_parameter_pack [PR70536]
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Ed Catmur
Jan. 10, 2023, 3:10 p.m. UTC
Per http://wiki.dwarfstd.org/index.php?title=C%2B%2B0x:_Variadic_templates DW_TAG_GNU_formal_parameter_pack should have a DW_AT_name:
17$: DW_TAG_formal_parameter_pack
DW_AT_name("args")
18$: DW_TAG_formal_parameter
! no DW_AT_name attribute
DW_AT_type(reference to 13$)
(...)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70536
From 2c50fbbfdd42c9ecb6d6b8e4c53bb3029ef1ee25 Mon Sep 17 00:00:00 2001
From: Ed Catmur <ed@catmur.uk>
Date: Sat, 12 Mar 2022 17:38:33 +0000
Subject: [PATCH] emit DW_AT_name for DW_TAG_GNU_formal_parameter_pack
Per http://wiki.dwarfstd.org/index.php?title=C%2B%2B0x:_Variadic_templates DW_TAG_GNU_formal_parameter_pack should have a DW_AT_name:
17$: DW_TAG_formal_parameter_pack
DW_AT_name("args")
18$: DW_TAG_formal_parameter
! no DW_AT_name attribute
DW_AT_type(reference to 13$)
(...)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70536
---
gcc/dwarf2out.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/dwarf2out.cc b/gcc/dwarf2out.cc index 5681b01749ad..ef3bc6f88e07 100644 --- a/gcc/dwarf2out.cc +++ b/gcc/dwarf2out.cc @@ -23006,7 +23006,7 @@ gen_formal_parameter_pack_die (tree parm_pack, && subr_die); parm_pack_die = new_die (DW_TAG_GNU_formal_parameter_pack, subr_die, parm_pack); - add_src_coords_attributes (parm_pack_die, parm_pack); + add_name_and_src_coords_attributes (parm_pack_die, parm_pack); for (arg = pack_arg; arg; arg = DECL_CHAIN (arg)) {