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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Jason Merrill <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:d60cbbfaa9a3ad3bd1f613be95add939c16fc9a1

commit r14-278-gd60cbbfaa9a3ad3bd1f613be95add939c16fc9a1
Author: Jason Merrill <ja...@redhat.com>
Date:   Wed Mar 22 16:11:47 2023 -0400

    c++: local class in nested generic lambda [PR109241]

    The earlier fix for PR109241 avoided the crash by handling a type with no
    TREE_BINFO.  But we want to move toward doing the partial substitution of
    classes in generic lambdas, so let's take a step in that direction.

            PR c++/109241

    gcc/cp/ChangeLog:

            * pt.cc (instantiate_class_template): Do partially instantiate.
            (tsubst_expr): Do call complete_type for partial instantiations.

Reply via email to