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 ***

Reply via email to