Message ID | 20230807111029.2320238-4-arsen@aarsen.me |
---|---|
State | Unresolved |
Headers |
Return-Path: <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp1378117vqr; Mon, 7 Aug 2023 04:25:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFC6dUUfcNYA3pfdEDdxboSSRnnMWeTr76Va1rKfjRL4klRZ4VyWgB1cFNHAhg0QeTSNrpH X-Received: by 2002:a17:907:2be6:b0:98e:419b:4cbc with SMTP id gv38-20020a1709072be600b0098e419b4cbcmr7564557ejc.12.1691407556196; Mon, 07 Aug 2023 04:25:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691407556; cv=none; d=google.com; s=arc-20160816; b=e+YHOFg34nJGx5KTCNKPJ3yLXSFzw05463dnjR2lRn7/h08qX23MDYgV1rt0h9EO7C +UCu8KFzqK6IEKfW0zUfQeAq8aMM2hRccTb8oBJvVBjWYdo3wTIMWH/LgEnCo/yjChep G4j6kaKonRIytHtLC/jap2VreYjl78YCnFaAr+0j1mF41ljbgm3OEoy9bEkKIUz2wQ0I BD+wbWOXJ4Ta4TXfvs5IZXkOmStGqd1xVD+IHCT4bNgCaOsTTXxtci72bDEARazk16HU rjZm4R/E51I7sqdvVkrIDvAS4h8Umg6i3uuY+kR56MopOzdwsbiKw5Eh4+HtF5waVsfI KtGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=E8rOB4+ldIqNwq+IK0f3Pwmx434fjgzmUlJcIt+T7Zo=; fh=HlqtwnJIXrNjznJexmk66x+BJhINoUmKDzfkYb60Jo8=; b=D2kH1iZjbn4ZUvbxq9M7GEA537S8mW+YbPtwgsb8X8pp27MVXndcXv+Zrx6dKRa98r suVgqQFtIllwJPhxIqJ1H5S3sr8WZnUHF2tS+1+3A1WGh67Q0yjf6lAwXUaSY5pIMqk0 Ohmov+Fy+uXrLNACK2dVvBMsWR/Fvt5surT3LEEHejSROF0fllqzPzjyZG2maC6HuYLw h9Okr6BTR50WJY+U6v9776uvn3pM7z4+dUYKaBLB4hcOpiDOU039gclbkuaLobeaRvdg Cq9+plGakTxzDp1Hp+vO5Utc020N4lrrQ/mtnjd2eaMawGtIyVTj3oYaOuRlJ3wpJ10y tbYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=n4d5zjDz; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id bv7-20020a170906b1c700b0099364d9f0eesi6055747ejb.481.2023.08.07.04.25.55 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 04:25:56 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=n4d5zjDz; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 73DBD388982B for <ouuuleilei@gmail.com>; Mon, 7 Aug 2023 11:22:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 73DBD388982B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1691407347; bh=E8rOB4+ldIqNwq+IK0f3Pwmx434fjgzmUlJcIt+T7Zo=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=n4d5zjDzmPxUw7YdHPYGrwDmrp8qizSyTdpCuWAuQsDeuMi+9Ax4usyQIclQH60Eo 8FGEftZr+pWzXecBNdfxLIGBwkPfpNeDmYGZYQrxdlgEx7/wVymK2Fr2lHtOEJI9+w H5S+CH0OkY22mB9NvFpAfaoo1ty0iyU89Ayi5WEY= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [IPv6:2001:67c:2050:0:465::102]) by sourceware.org (Postfix) with ESMTPS id 9B9FB3858033; Mon, 7 Aug 2023 11:19:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9B9FB3858033 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4RKDNb4km1z9sf0; Mon, 7 Aug 2023 13:19:11 +0200 (CEST) To: gdb-patches@sourceware.org, binutils@sourceware.org Cc: Jason Merrill <jason@redhat.com> Subject: [PATCH 03/45] c++: source position of lambda captures [PR84471] Date: Mon, 7 Aug 2023 13:07:06 +0200 Message-ID: <20230807111029.2320238-4-arsen@aarsen.me> In-Reply-To: <20230807111029.2320238-1-arsen@aarsen.me> References: <20230807111029.2320238-1-arsen@aarsen.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4RKDNb4km1z9sf0 X-Spam-Status: No, score=-10.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_INFOUSMEBIZ, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, 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: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> From: =?utf-8?q?Arsen_Arsenovi=C4=87_via_Binutils?= <binutils@sourceware.org> Reply-To: =?utf-8?q?Arsen_Arsenovi=C4=87?= <arsen@aarsen.me> Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773569370074545466 X-GMAIL-MSGID: 1773569370074545466 |
Series |
Synchronize shared build infrastructure with GCC tree
|
|
Checks
Context | Check | Description |
---|---|---|
snail/binutils-gdb-check | warning | Git am fail log |
Commit Message
Arsen Arsenović
Aug. 7, 2023, 11:07 a.m. UTC
From: Jason Merrill <jason@redhat.com>
include/ChangeLog:
* ansidecl.h (ATTRIBUTE_WARN_UNUSED_RESULT): Add __.
---
include/ansidecl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 8/7/23 07:07, Arsen Arsenović wrote: > From: Jason Merrill <jason@redhat.com> This looks strange outside of the context of https://gcc.gnu.org/r13-4812 :) You will want to adjust the commit subject line to reflect that it's now just the include change. > include/ChangeLog: > > * ansidecl.h (ATTRIBUTE_WARN_UNUSED_RESULT): Add __. > --- > include/ansidecl.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/ansidecl.h b/include/ansidecl.h > index d94145d1313..39375e17156 100644 > --- a/include/ansidecl.h > +++ b/include/ansidecl.h > @@ -279,7 +279,7 @@ So instead we use the macro below and test it against specific values. */ > /* Attribute `warn_unused_result' was valid as of gcc 3.3. */ > #ifndef ATTRIBUTE_WARN_UNUSED_RESULT > # if GCC_VERSION >= 3003 > -# define ATTRIBUTE_WARN_UNUSED_RESULT __attribute__ ((warn_unused_result)) > +# define ATTRIBUTE_WARN_UNUSED_RESULT __attribute__ ((__warn_unused_result__)) > # else > # define ATTRIBUTE_WARN_UNUSED_RESULT > # endif
diff --git a/include/ansidecl.h b/include/ansidecl.h index d94145d1313..39375e17156 100644 --- a/include/ansidecl.h +++ b/include/ansidecl.h @@ -279,7 +279,7 @@ So instead we use the macro below and test it against specific values. */ /* Attribute `warn_unused_result' was valid as of gcc 3.3. */ #ifndef ATTRIBUTE_WARN_UNUSED_RESULT # if GCC_VERSION >= 3003 -# define ATTRIBUTE_WARN_UNUSED_RESULT __attribute__ ((warn_unused_result)) +# define ATTRIBUTE_WARN_UNUSED_RESULT __attribute__ ((__warn_unused_result__)) # else # define ATTRIBUTE_WARN_UNUSED_RESULT # endif