[Bug c++/94257] ICE in inline nested namespace
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94257 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED|RESOLVED --- Comment #3 from Nathan Sidwell --- Fixed 9dba60130dc3ebf7cce8716a36672281688693f7
[Bug c++/94257] ICE in inline nested namespace
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94257 --- Comment #2 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:9dba60130dc3ebf7cce8716a36672281688693f7 commit r10-7423-g9dba60130dc3ebf7cce8716a36672281688693f7 Author: Nathan Sidwell 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.
[Bug c++/94257] ICE in inline nested namespace
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94257 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org Status|NEW |ASSIGNED
[Bug c++/94257] ICE in inline nested namespace
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94257 Marek Polacek changed: What|Removed |Added Last reconfirmed||2020-03-25 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC||mpolacek at gcc dot gnu.org, ||nathan at gcc dot gnu.org --- Comment #1 from Marek Polacek --- This compiled without errors until r8-952-g945bf9e13f706bed44ec760ac60693e00c59b146: 94257.C:4:18: error: conflicting declaration of namespace ‘B’ inline namespace B { ^ and the ICE started with r8-1488-g71bbbd133f65c26f65709037401154362210560e