From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3396 invoked by alias); 20 Feb 2003 17:25:49 -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 3351 invoked by uid 48); 20 Feb 2003 17:25:48 -0000 Date: Thu, 20 Feb 2003 17:25:00 -0000 Message-ID: <20030220172548.3349.qmail@sources.redhat.com> To: bilkes@mail.nih.gov, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org From: bangerth@dealii.org Reply-To: bangerth@dealii.org, bilkes@mail.nih.gov, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/9777: ICE in pop_binding: Name clash between a class and a method triggers ice. X-SW-Source: 2003-02/txt/msg01003.txt.bz2 List-Id: Old Synopsis: Name clash between a class and a method triggers ice. New Synopsis: ICE in pop_binding: Name clash between a class and a method triggers ice. State-Changed-From-To: open->analyzed State-Changed-By: bangerth State-Changed-When: Thu Feb 20 17:25:48 2003 State-Changed-Why: Confirmed. Smaller snippet: ----------------------- struct B { struct foo {}; struct bar { void foo(); }; }; struct D : B { struct bar : B::bar {}; struct foo : B::foo {}; }; ------------------------- g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc x.cc:11: internal compiler error: in pop_binding, at cp/decl.c:1137 Please submit a full bug report, Problem exists in all versions from 2.95 through to present 3.4. The ICE happens in pop_binding, for which I believe there are several other open reports already: PR 157 and PR 5402. The latter seems somehow related, but is not exactly the same... W. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9777