From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31946 invoked by alias); 23 Feb 2003 16:17:14 -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 31926 invoked by uid 48); 23 Feb 2003 16:17:14 -0000 Date: Sun, 23 Feb 2003 16:17:00 -0000 Message-ID: <20030223161714.31925.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, michael@waxrat.com, nobody@gcc.gnu.org From: ehrhardt@mathematik.uni-ulm.de Reply-To: ehrhardt@mathematik.uni-ulm.de, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, michael@waxrat.com, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/9798: [<3.2,3.3,3.4> regression] Ininite recursion (segfault) in cp/decl.c:push_using_directive with recusive using directives X-SW-Source: 2003-02/txt/msg01162.txt.bz2 List-Id: Old Synopsis: g++: Internal error: Segmentation fault (program cc1plus) New Synopsis: [<3.2,3.3,3.4> regression] Ininite recursion (segfault) in cp/decl.c:push_using_directive with recusive using directives State-Changed-From-To: open->analyzed State-Changed-By: cae State-Changed-When: Sun Feb 23 16:17:14 2003 State-Changed-Why: Confirmed with 3.2.2, 3.3 and 3.4 trees. A reduced testcase is this: namespace std { } namespace STL { using namespace std; } namespace std { using namespace STL; } namespace STL { struct A { void B() { using namespace std; } }; } The cc1plus binary either crashes with a segfault due to an infinite recursion in push_using_directive. This is a regression from 2.95. regards Christian http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9798