public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/93152] derived_from on lambda arg causes ICE / uses wrong base, for some orders of template args on containing function
       [not found] <bug-93152-4@http.gcc.gnu.org/bugzilla/>
@ 2020-06-02 13:10 ` ppalka at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: ppalka at gcc dot gnu.org @ 2020-06-02 13:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93152

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ppalka at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #7 from Patrick Palka <ppalka at gcc dot gnu.org> ---
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 ***

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-02 13:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-93152-4@http.gcc.gnu.org/bugzilla/>
2020-06-02 13:10 ` [Bug c++/93152] derived_from on lambda arg causes ICE / uses wrong base, for some orders of template args on containing function ppalka at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).