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

--- 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:6acd6692f1ac3c2ece3da36178df73e3b12c4f65

commit r11-7785-g6acd6692f1ac3c2ece3da36178df73e3b12c4f65
Author: Nathan Sidwell <nat...@acm.org>
Date:   Tue Mar 23 05:18:04 2021 -0700

    c++: Over-zealous assert [PR 99239]

    This was simply an overzealous assert.  Possibly correct thinking at
    the time that code was written, but not true now.  Of course we can
    have imported artificial decls.

            PR c++/99239
            gcc/cp/
            * decl.c (duplicate_decls): Remove assert about maybe-imported
            artificial decls.
            gcc/testsuite/
            * g++.dg/modules/pr99239_a.H: New.
            * g++.dg/modules/pr99239_b.H: New.

Reply via email to