From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 9321138582B0 for ; Thu, 10 Aug 2023 21:48:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9321138582B0 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1691704086; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jJzL9FWgSlF1g5J9vnNe3tuZ0dh0WdG1yk7TAonQ4Pw=; b=EIvk1kmID2wpvMnPzZ0inDkEGbAUM3t4Zh3HQwwjpxblWs7O9HCv2XxGE4gdD6Lv3ArQ4l +y8XSuYFmJnXcoR6HmCrctMUfYOaixJK3/kgmQKYbej2JJKfK7w6Kz0tupSDgnIil2BRYk pRbh2AlDCcEbqX5zchNUi8WvpJKoiPQ= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-664-fOFUNKY2MPm3QCA7sUacpA-1; Thu, 10 Aug 2023 17:48:05 -0400 X-MC-Unique: fOFUNKY2MPm3QCA7sUacpA-1 Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-40ffb4530ddso14412841cf.2 for ; Thu, 10 Aug 2023 14:48:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691704084; x=1692308884; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jJzL9FWgSlF1g5J9vnNe3tuZ0dh0WdG1yk7TAonQ4Pw=; b=j1ztnd+FuLIzOiyZbNX1sPjuJDErUV4Lnxe74clLs5vpIc6WNv5SquFYYVKsV6cmQn 0X8qGtDjtrHHHBNXTz2pg87YTqIDLWuq5g+G2rwmae0eBiv4inruJlSLB8Ak7bmCiNzC ASUgJKa91OOk/z/9T9HfQMhsRcxL7d0bFivc73YmwPOJaP4/wBK4i7GEqh7Z9yyAzj5u ppRCVC/XJNa2U/kAJhXsPVzNUm69zpp64/iAXztLyXljEu1fPyozy5fVH81FuJ+knP5A EDvNrpA2F6bg6eCicj0TdajzvhpAFCqJh8vn3HLk9z5m44G4BvT3O01jpbS1jXr9qIHd OqHQ== X-Gm-Message-State: AOJu0YxzLlQCqyIEdCEBdit4jjAMJj6TgGMlQBUoWFI9DU6cx+f+Vh12 Hcc4G6o3BU2eYsvrKgvd3CcG3VSNfKJlEt/FTY7KRvWwoEZ+DQutOLD+ft9fH3TPJWEIhoIiNr/ M4CbHp4PD4qlpCN6ORyZeOw== X-Received: by 2002:a05:622a:38a:b0:410:804:f159 with SMTP id j10-20020a05622a038a00b004100804f159mr100972qtx.7.1691704084606; Thu, 10 Aug 2023 14:48:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGcuDXhJL5P3T2Dcc3uqSeP8ZLOtEgpwxHHDcjDuti7pD4DazkjcXxC5vWf9zjEfRMpTNz5iw== X-Received: by 2002:a05:622a:38a:b0:410:804:f159 with SMTP id j10-20020a05622a038a00b004100804f159mr100958qtx.7.1691704084363; Thu, 10 Aug 2023 14:48:04 -0700 (PDT) Received: from [192.168.1.108] (130-44-146-16.s12558.c3-0.arl-cbr1.sbo-arl.ma.cable.rcncustomer.com. [130.44.146.16]) by smtp.gmail.com with ESMTPSA id j27-20020ac84c9b000000b003f7fd3ce69fsm761998qtv.59.2023.08.10.14.48.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Aug 2023 14:48:03 -0700 (PDT) Message-ID: Date: Thu, 10 Aug 2023 17:48:03 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 03/45] c++: source position of lambda captures [PR84471] To: =?UTF-8?Q?Arsen_Arsenovi=c4=87?= , gdb-patches@sourceware.org, binutils@sourceware.org References: <20230807111029.2320238-1-arsen@aarsen.me> <20230807111029.2320238-4-arsen@aarsen.me> From: Jason Merrill In-Reply-To: <20230807111029.2320238-4-arsen@aarsen.me> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,KAM_SHORT,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,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 List-Id: On 8/7/23 07:07, Arsen Arsenović wrote: > From: Jason Merrill 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