From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-4316.protonmail.ch (mail-4316.protonmail.ch [185.70.43.16]) by sourceware.org (Postfix) with ESMTPS id B4D713858C29 for ; Fri, 22 Dec 2023 09:02:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B4D713858C29 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=protonmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B4D713858C29 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=185.70.43.16 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703235739; cv=none; b=pwO+XVbyj5uSCEsa5mg1Q0jGwSmB4timd99OVl8NUyTozDBphgJiIJqIfFEroMO4WCTpc4XiiECnJITcdeVGQVxycQHG1nDmc8NvojD/2eGrdfSF50Q+BqjOxy/FpcLhhHi3uzIUDTMh3teszDFhZJT7n/RKWVl3Xox0Xv/zjoI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703235739; c=relaxed/simple; bh=fHTQrWimPgheQdj96uvY5kXfeh/6H4kYd5ecOv0Eox4=; h=DKIM-Signature:Date:To:From:Subject:Message-ID:MIME-Version; b=VpnZ+4APSw1ZWSyvndPsxAEl1HbbRBRYG9bMq6xYsy7wUtFi9Z+MWW4V0klZaBhT7inqtY+dXuLkB9mi4Iv6mh75YgCvnd4vTocx2MASAUeBQ7V7039/fHA6pXWzObY96cNx4piCLjASBMeg+VRlC9JiD2z09QJENQLTyE3lCdU= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1703235734; x=1703494934; bh=3aEcr+X3NR3RJdop4UZiHU/qpMyF2zbBtOODDA4dDK0=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=ta+R9SLf5wtRWQX8b/cQOSwhmSxMpFGgTnPech8az4V2hmeCrVC941n6Wn9GQVDb5 QXn723ce75dQzQbWGnnQkdbZ+IlyrzvxJNoJu2cP/1hlJ70DyEwmZzvBSpQPwx+m+M toukiuPcuqqqa/jqOWuDrqHN8+04hOExpPSYf++mbxBPLoju408ShifwajQvPW28Oe trZ7OUXwszjTmKPxM2GvN3ogwPnDsF1obvrU+SAIi2LwnlWy1g0YYjWzupcZeTLkKY kOUXJv5Pj0Jk6jBJeZ7oibJew25JOW7rfCwPzvCETAva+DNxX/AokKeb5KPQqn8bM4 V7Sv3sCix9QTg== Date: Fri, 22 Dec 2023 09:01:59 +0000 To: Jason Merrill From: waffl3x Cc: "gcc-patches@gcc.gnu.org" Subject: Re: [PATCH v7 1/1] c++: Initial support for P0847R7 (Deducing This) [PR102609] Message-ID: In-Reply-To: References: <1b3b0259-5ce4-4193-a36d-60f09e1c7c92@redhat.com> <575c0bbe-a3d6-4a54-b299-edff64df84b1@redhat.com> <59LofhYhxl7MLEuElXwZcESRB6MpjdG-iq-89B63siDRo5k0j-y6z-PVa6Y3iE1xE5LkJwpwTFi82bd0RZjB1yZbSJptFdPTBWfvOGj1W78=@protonmail.com> Feedback-ID: 14591686:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE 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: int n =3D 0; auto f =3D [](this Self){ static_assert(__is_same (decltype(n), int)); decltype((n)) a; // { dg-error {is not captured} } }; f(); Could you clarify if this error being removed was intentional. I do recall that Patrick Palka wanted to remove this error in his patch, but it seemed to me like you stated it would be incorrect to allow it. Since the error is no longer present I assume I am misunderstanding the exchange. In any case, let me know if I need to modify my test case or if this error needs to be added back in. Alex