From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21548 invoked by alias); 20 Jun 2002 10:36:05 -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 21525 invoked by uid 71); 20 Jun 2002 10:36:03 -0000 Resent-Date: 20 Jun 2002 10:36:03 -0000 Resent-Message-ID: <20020620103603.21523.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, dmonksfd@broadcom.com Received: (qmail 18146 invoked by uid 61); 20 Jun 2002 10:30:48 -0000 Message-Id: <20020620103048.18138.qmail@sources.redhat.com> Date: Thu, 20 Jun 2002 03:46:00 -0000 From: dmonksfd@broadcom.com Reply-To: dmonksfd@broadcom.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/7083: internal error (segfault) using -gstabs with dodgy class derivation X-SW-Source: 2002-06/txt/msg00449.txt.bz2 List-Id: >Number: 7083 >Category: c++ >Synopsis: internal error (segfault) using -gstabs with dodgy class derivation >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Jun 20 03:36:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: David Monksfield >Release: 3.1 >Organization: >Environment: >Description: gcc -v: Reading specs from /tools/gcc/3.1/i686-2.4.7-10/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs Configured with: ../gcc-3.1/configure --prefix=/tools/gcc/3.1 --exec-prefix=/tools/gcc/3.1/i686-2.4.7-10 --disable-nls --enable-shared Thread model: single gcc version 3.1 Command line: g++ -gstabs -c gcc31bug.cc Output: gcc31bug.cc:5: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Preprocessed source: # 1 "gcc31bug.cc" # 1 "" # 1 "" # 1 "gcc31bug.cc" typedef struct { int x; } A; class B: public A { int y; }; Notes: This is nasty (probably invalid) code, but it works under -ggdb, and probably shouldn't segfault anyway. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: