https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94257
--- Comment #2 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:9dba60130dc3ebf7cce8716a36672281688693f7 commit r10-7423-g9dba60130dc3ebf7cce8716a36672281688693f7 Author: Nathan Sidwell <nat...@acm.org> Date: Fri Mar 27 07:54:33 2020 -0700 c++: Fix ICE after ambiguous inline namespace reopen [PR94257] Following DR2061, 'namespace F', looks for 'F's inside inline namespaces. That can result in ambiguous lookups that we failed to diagnose early enough, leading us to push a new namespace and ICE later. Diagnose the ambiguity earlier, and then pick one. PR c++/94257 * name-lookup.c (push_namespace): Triage ambiguous lookups that contain namespaces.