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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Nathan Sidwell <nat...@gcc.gnu.org>:

https://gcc.gnu.org/g:9e64dd6b3f6706de571c6ed3c4b7a8c8b67f22b7

commit r11-7532-g9e64dd6b3f6706de571c6ed3c4b7a8c8b67f22b7
Author: Nathan Sidwell <nat...@acm.org>
Date:   Fri Mar 5 12:49:34 2021 -0800

    c++: Duplicate namespace bindings [PR 99245]

    Header units can declare the same entity, and this can lead to one of
    them containing a (non-using) binding to an import.  If one gets the
    cluster ordering just right, an assert will trigger.  Relax that assert.

            PR c++/99245
            gcc/cp/
            * module.cc (module_state::write_cluster): Relax binding assert.
            gcc/testsuite/
            * g++.dg/modules/pr99245_a.H: New.
            * g++.dg/modules/pr99245_b.H: New.

Reply via email to