Message ID | 20230807111029.2320238-4-arsen@aarsen.me |
---|---|
State | New |
Headers |
Return-Path: <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1FEAB3856090 for <patchwork@sourceware.org>; Mon, 7 Aug 2023 11:20:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1FEAB3856090 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1691407210; 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=jFL/0o9CBOegweLzQN6Jf6V7uKt1mOgIFs5ZJtId09M0/c27G5DUEgmDBNYBBhN1Y vCZURD3XrZDf6rBQ+sjHuqrjJzWatjOfZdJG8Xi7323Bxn8NkeqpzgBEkhn6xCyoS4 C/llWbhYAZAvOGNtucyF8aDl8jKwr+Rfg8+U3YqE= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@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: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> From: =?utf-8?q?Arsen_Arsenovi=C4=87_via_Gdb-patches?= <gdb-patches@sourceware.org> Reply-To: =?utf-8?q?Arsen_Arsenovi=C4=87?= <arsen@aarsen.me> Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
Synchronize shared build infrastructure with GCC tree
|
|
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