From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18030 invoked by alias); 6 Feb 2003 23:26:20 -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 18003 invoked by uid 48); 6 Feb 2003 23:26:20 -0000 Date: Thu, 06 Feb 2003 23:26:00 -0000 Message-ID: <20030206232620.18002.qmail@sources.redhat.com> To: bmiller@txcorp.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org From: reichelt@igpm.rwth-aachen.de Reply-To: reichelt@igpm.rwth-aachen.de, bmiller@txcorp.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/9589: Segmentation fault on missing semicolon after class definition. X-SW-Source: 2003-02/txt/msg00334.txt.bz2 List-Id: Synopsis: Segmentation fault on missing semicolon after class definition. State-Changed-From-To: open->closed State-Changed-By: reichelt State-Changed-When: Thu Feb 6 23:26:19 2003 State-Changed-Why: Confirmed, but fixed on 3.3 branch and mainline. A reduced testcase is the following: ---------------------snip here---------------------- struct A { A(); void foo() const; }; struct B { void bar (const A &a) const { a.foo(); } } // missing semicolon A::A () {} ---------------------snip here---------------------- It crashes gcc 2.95.x, 3.0.x, 3.1.x, 3.2.x. However, the code gives a regular error with 3.3 branch and mainline. Since it's not a regression I close the PR. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9589