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

--- Comment #14 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Nathaniel Shead <nsh...@gcc.gnu.org>:

https://gcc.gnu.org/g:337b9ff4854c6a7fa47860ce0acad82ffb4d39be

commit r15-9218-g337b9ff4854c6a7fa47860ce0acad82ffb4d39be
Author: Nathaniel Shead <nathanielosh...@gmail.com>
Date:   Fri Apr 4 12:24:10 2025 +1100

    c++: Fix GC with TU_LOCAL_ENTITY [PR119564]

    When adding TU_LOCAL_ENTITY in r15-6379 I neglected to add it to
    cp_tree_node_structure, so garbage collection was crashing on it.

            PR c++/119564

    gcc/cp/ChangeLog:

            * decl.cc (cp_tree_node_structure): Add TU_LOCAL_ENTITY; fix
            formatting.

    gcc/testsuite/ChangeLog:

            * g++.dg/modules/gc-3_a.C: New test.
            * g++.dg/modules/gc-3_b.C: New test.

    Signed-off-by: Nathaniel Shead <nathanielosh...@gmail.com>
    Reviewed-by: Jason Merrill <ja...@redhat.com>

Reply via email to