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

--- Comment #10 from Patrick Palka <ppalka at gcc dot gnu.org> ---
The master branch has been updated by Nathaniel Shead <nsh...@gcc.gnu.org>:

https://gcc.gnu.org/g:62a0ef0d02cbb74cd865c1db2ecb7ca1b11f87cd

commit r14-9959-g62a0ef0d02cbb74cd865c1db2ecb7ca1b11f87cd
Author: Nathaniel Shead <nathanielosh...@gmail.com>
Date:   Sat Feb 17 23:10:49 2024 +1100

    c++: Setup aliases imported from modules [PR106820]

    I wonder if more generally we need to be doing more work when importing
    definitions from header units especially to handle all the work that
    'make_rtl_for_nonlocal_decl' and 'rest_of_decl_compilation' would have
    been performing. But this patch fixes at least one missing step.

            PR c++/106820

    gcc/cp/ChangeLog:

            * module.cc (trees_in::decl_value): Assemble alias when needed.

    gcc/testsuite/ChangeLog:

            * g++.dg/modules/pr106820_a.H: New test.
            * g++.dg/modules/pr106820_b.C: New test.

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

Reply via email to