https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99283
--- Comment #6 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:bd71889b9017751e1a06970d20b28b9fe9479bdc commit r11-7804-gbd71889b9017751e1a06970d20b28b9fe9479bdc Author: Nathan Sidwell <nat...@acm.org> Date: Tue Mar 23 12:23:30 2021 -0700 c++: Note duplicates in symbol table [PR 99283] I ran into this reducing 99283, we were failing to mark binding vectors when the current TU declares a duplicate decl (as opposed to an import introduces a duplicate). PR c++/99283 gcc/cp/ * name-lookup.c (check_module_override): Set global or partition DUP on the binding vector. gcc/testsuite/ * g++.dg/modules/pr99283-1_a.H: New. * g++.dg/modules/pr99283-1_b.H: New.