From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 66A95385C6F7; Wed, 27 Mar 2024 23:16:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 66A95385C6F7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711581372; bh=G+UnZLiIsd2D1apb3A8K6W+hwHO1iHwTVo6kgYhSqqI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bnDdv+cdVGp9+n0VTcrADZ/yKQxquAtKxPsYj2ioZczCfXpqcPM6Ak9SL+KsRAqGL jZf6org99DsZJhF4k9uPg+olBecSI5600cLrvXjTjPHd+KgmZmFde6CA/ZGyrK0BNy IGRyBWmqeouDhEE7Zfg/DpC6l0N84CASLpKvSA9c= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99599] [11/12/13 Regression] Concepts requirement falsely reporting cyclic dependency, breaks tag_invoke pattern Date: Wed, 27 Mar 2024 23:16:08 +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: 11.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: SUSPENDED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D99599 --- Comment #25 from Jonathan Wakely --- It looks like PR 104606 is another case. #include #include #include struct Value : public std::variant> { }; struct Comparator { template bool operator<=3D(const T &rhs) { return true; } }; int main() { auto test2 =3D Comparator() <=3D std::optional{}; } Preprocessing this with 10.4 and compiling with 11.1 fails, bisection shows= it started to fail with r11-2774.=