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

--- Comment #11 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:3878e9aeb30cb192f769997c52743daf8190744c

commit r14-9961-g3878e9aeb30cb192f769997c52743daf8190744c
Author: Nathaniel Shead <nathanielosh...@gmail.com>
Date:   Mon Apr 8 23:34:42 2024 +1000

    c++: Only emit exported GMF usings [PR114600]

    A typo in r14-6978 made us emit too many things. This ensures that we
    don't emit using-declarations from the GMF that we don't need to.

            PR c++/114600

    gcc/cp/ChangeLog:

            * module.cc (depset::hash::add_binding_entity): Require both
            WMB_Using and WMB_Export for GMF entities.

    gcc/testsuite/ChangeLog:

            * g++.dg/modules/using-14.C: New test.

    Signed-off-by: Nathaniel Shead <nathanielosh...@gmail.com>
    Co-authored-by: Patrick Palka <ppa...@redhat.com>

Reply via email to