I thought this was filed before but I cannot find it. Testcase: namespace std { namespace __gnu_debug { namespace debug = std::__gnu_debug; namespace debug { ----- Error we get: t.ii:6: error: namespace alias std::__gnu_debug::debug not allowed here, assuming std::__gnu_debug t.ii:6: internal compiler error: in resume_scope, at cp/name-lookup.c:1372 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
-- Summary: ICE after error with namespace alias Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26155