On 11/16/23 16:39, Nathaniel Shead wrote:
Bootstrapped and regtested on x86_64-pc-linux-gnu. I don't have write
access.

-- >8 --

Modules streaming requires DECL_CONTEXT to be set on declarations that
are streamed. This ensures that __cxa_thread_atexit is given translation
unit context much like is already done with many other support
functions.

        PR c++/99187

gcc/cp/ChangeLog:

        * cp-tree.h (enum cp_tree_index):
        (thread_atexit_node):
        * decl.cc (get_thread_atexit_node):

gcc/testsuite/ChangeLog:

        * g++.dg/modules/pr99187.C: New test.

Signed-off-by: Nathaniel Shead <nathanielosh...@gmail.com>

thanks, I've committed it for you.

nathan

--
Nathan Sidwell

Reply via email to