From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B1C05386F02B; Tue, 21 Apr 2020 19:08:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B1C05386F02B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587496119; bh=ySSdq9Src68Bi8/VFctVeibKCKOR7H2qHpTo88nzGaE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TsHBS0hasLvyAPfWZ3vivGjqi0J2HmNezDLJkzbSc1skX0wZsUwEDmoqTOCCYD9Wh oH3Skp2+OT6zHzU7UecH+ncQhfGRq4ZRvyjjx5Hbz/vXhqEhWb/qERUjO+jBXOJ7TY Cg7SqtEd9y4s0PPdcGiLIKNLQXgGmMv6tqYj/kQ4= From: "rafael at espindo dot la" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/94645] [10 Regression][concepts] incorrect concept evaluation with decltype, plus internal error since r10-7554-gf1ad7bac76b66257 Date: Tue, 21 Apr 2020 19:08:39 +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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rafael at espindo dot la 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.0 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Apr 2020 19:08:39 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94645 --- Comment #8 from Rafael Avila de Espindola --- The internal compiler error reduces to struct unordered_map { int cend() const noexcept; }; template concept HasMapInterface =3D requires(a t) { t.cend();= }; template requires HasMapInterface struct l { friend void foo(l opt) { ([]() {})(); } }; struct p { static unordered_map map(); }; void g(l

*y) { foo(*y); }=