From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7E7433858C60; Fri, 2 Dec 2022 14:07:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7E7433858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669990078; bh=0W8tXXvN9rnMvsFfN97v3TgM7nmcNKTjsSitZgidFAE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oVvb/blwK9J8Pqtz6Cji/O/5s08F+K+5aueVDv4WyjGT9GqNsAEIZUS9IcZqo1vXM HIuRUjECTwS45TD+SMjAEneWGiXriIkPn7l+RwTptCIw+G8pPauL1gMObIyjPntADa 7bvVBOKWLN9L0lDKP9D2EiYghBzsguEuKCy9hI3c= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/105221] [10/11/12/13 Regression] gcc rejects true ? [](auto) noexcept {} : [](int) {} in C++17+ (works for C++14) Date: Fri, 02 Dec 2022 14:07:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: c++-lambda, needs-bisection, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105221 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org, | |ppalka at gcc dot gnu.org --- Comment #4 from Jakub Jelinek --- P0012R1 added what is now http://eel.is/c++draft/temp.deduct.conv#5.2 , at = that point: ``If the original A is a function pointer type, A can be "pointer to functi= on" even if the deduced A is "pointer to noexcept function". If the original A is a pointer to member function type, A can be "pointer to member of type function" even if the deduced A is "pointer to member of type noexcept function".'' but I don't see in pt.cc anything keyed on DEDUCE_CONV that would deal with this.=