From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22524 invoked by alias); 4 Nov 2002 10:36:02 -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 22455 invoked by uid 71); 4 Nov 2002 10:36:01 -0000 Resent-Date: 4 Nov 2002 10:36:01 -0000 Resent-Message-ID: <20021104103601.22454.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, hb@gcc.x256.org Received: (qmail 17304 invoked by uid 61); 4 Nov 2002 10:34:38 -0000 Message-Id: <20021104103438.17303.qmail@sources.redhat.com> Date: Mon, 04 Nov 2002 02:36:00 -0000 From: hb@gcc.x256.org Reply-To: hb@gcc.x256.org To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: debug/8446: stabs generation crashes when class inherits from typedef struct X-SW-Source: 2002-11/txt/msg00147.txt.bz2 List-Id: >Number: 8446 >Category: debug >Synopsis: stabs generation crashes when class inherits from typedef struct >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Nov 04 02:36:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Nicholas Vinen >Release: 3.2 >Organization: >Environment: i686-pc-linux-gnu (SuSE 7.3) >Description: The small file below causes GCC 3.2 to crash. It is because the STABS debug record generator can't handle classes which derive from typedef'd structs. Most other debug outputs can, and GCC compiles it fine. I am currently downloading the CVS version to see if it happens there too, but it isn't finished yet. >How-To-Repeat: g++ -gstabs test2.cc >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/plain; name="test2.cc" Content-Disposition: inline; filename="test2.cc" typedef struct { int a; } foo; class bar : public foo { }; int main(void) { return 0; }