From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10107 invoked by alias); 7 Feb 2006 14:48:29 -0000 Received: (qmail 10092 invoked by uid 48); 7 Feb 2006 14:48:26 -0000 Date: Tue, 07 Feb 2006 14:48:00 -0000 Subject: [Bug c++/26155] New: ICE after error with namespace alias X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg00660.txt.bz2 List-Id: 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 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