From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A87C6383F855; Tue, 2 Jun 2020 13:10:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A87C6383F855 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1591103459; bh=7h+jXV5+8i/U4xd+RkYEGoF3JJ8wiexgIobGCxBmFEU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yjzpUqOLADLtC2v3TbMhSWcRx+/EATcOceX+X2vd59JfeRBWEAEnsMy/tsOw0D7Kc hn1Wzuk7wh8LHib8wtclx/dBlaUPkYEa0L8uZjwjaagFpWDVIUz6yFHfBzJ1n4k0vv F3qiNzk5DZv0RYWO6zoTUPgAQyLzaEfpk9D2Itvw= From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93152] derived_from on lambda arg causes ICE / uses wrong base, for some orders of template args on containing function Date: Tue, 02 Jun 2020 13:10:59 +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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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: bug_status cc resolution 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, 02 Jun 2020 13:10:59 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D93152 Patrick Palka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |ppalka at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #7 from Patrick Palka --- Thanks for the analysis and for the reduced testcase. > This might have the same root cause as 93154, as in both cases, it looks = like the compiler is mixing up the template arguments of the outer function= and the inner lambda. I think you're right. PR92633 contains a smaller testcase whose root cause= is the same, and after fixing that PR (for GCC 10.2+) we now also correctly compile the original testcase here. So I'm marking this PR as a dup of PR92633. *** This bug has been marked as a duplicate of bug 92633 ***=