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

--- Comment #5 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:95d4c0d2e6318aef88ba0bc607dfc1ec6b7a612f

commit r14-283-g95d4c0d2e6318aef88ba0bc607dfc1ec6b7a612f
Author: Jason Merrill <ja...@redhat.com>
Date:   Thu Mar 16 16:55:39 2023 -0400

    c++: restore instantiate_decl assert

    For PR61445 I removed this assert, but PR108242 demonstrated why it's still
    useful; to avoid regressing the former testcase I check pattern_defined
    in the assert.

    This reverts r212524.

            PR c++/61445

    gcc/cp/ChangeLog:

            * pt.cc (instantiate_decl): Assert !defer_ok for local
            class members.

Reply via email to