https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97905
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Nathan Sidwell <[email protected]>: https://gcc.gnu.org/g:255483e5b70beade63efdf1f3efa6b814831da08 commit r11-5176-g255483e5b70beade63efdf1f3efa6b814831da08 Author: Nathan Sidwell <[email protected]> Date: Thu Nov 19 08:00:49 2020 -0800 c++: Relax new assert [PR 97905] It turns out there are legitimate cases for the new decl to not have lang-specific. PR c++/97905 gcc/cp/ * decl.c (duplicate_decls): Relax new assert. gcc/testsuite/ * g++.dg/lookup/pr97905.C: New.
