From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3E39F3858D37; Fri, 13 Jan 2023 16:28:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3E39F3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673627285; bh=gFSqiethHZutk1e9CtkdHq/SH0HaT28iaC5qov4mC8A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Juqn7QXCqaHyyFzELwBuRsOTX3T3Xt7MK5Z4zKoYi2dpRb50okUMXryyLSfZ9Conq CZt71DGSbl0CD08lAkhxl4ouGZHApboTEHixzTpZs5BYXRam6Mmfu3ZaZPLOOtlM/J OlqA9oAgaAAwCfx6KnDm0nNx9O/xOiTlX25npmVQ= From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108393] circular concept false-positive Date: Fri, 13 Jan 2023 16:28:05 +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.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also 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=3D108393 Patrick Palka changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D99599 CC| |ppalka at gcc dot gnu.org --- Comment #3 from Patrick Palka --- IIUC this is a consequence of CWG2369, which made us check check constraints before checking non-dependent conversions, and which AFAIK only GCC impleme= nts. It can be worked around by encoding the conversion to unreachable_sentinel_= t as an additional constraint guarding the real constraint: template T, C _Iter> friend constexpr bool operator=3D=3D(T, const _Iter&) noexcept; See also PR99599=