From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31874 invoked by alias); 29 Aug 2002 16:16:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 31854 invoked by uid 71); 29 Aug 2002 16:16:00 -0000 Date: Thu, 29 Aug 2002 11:16:00 -0000 Message-ID: <20020829161600.31853.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Gabriel Dos Reis Subject: Re: c++/7761: gcc reports internal error code 383 on invalid namespace usage. Reply-To: Gabriel Dos Reis X-SW-Source: 2002-08/txt/msg00612.txt.bz2 List-Id: The following reply was made to PR c++/7761; it has been noted by GNATS. From: Gabriel Dos Reis To: pgoverea@akamai.com Cc: gcc-gnats@gcc.gnu.org Subject: Re: c++/7761: gcc reports internal error code 383 on invalid namespace usage. Date: 29 Aug 2002 18:08:22 +0200 pgoverea@akamai.com writes: | compile file containing: | struct A { }; | namespace A { struct B {}; } | using A::B; Recent versions of GCC no longer craches but the compiler is clearly bogus since it should have rejected the namespace declaration definition. I bet this behaviour is due to the fact that the front-end source was copied from C and it wasn't updated to take into account C++'s more stringent rules about names. -- Gaby