From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18270 invoked by alias); 18 Apr 2002 10:46:10 -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 18230 invoked by uid 71); 18 Apr 2002 10:46:03 -0000 Resent-Date: 18 Apr 2002 10:46:02 -0000 Resent-Message-ID: <20020418104602.18229.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, veksler@il.ibm.com Received:(qmail 16916 invoked from network); 18 Apr 2002 10:42:50 -0000 Received: from unknown (HELO lnx12.haifa.ibm.com) (192.115.216.85) by sources.redhat.com with SMTP; 18 Apr 2002 10:42:50 -0000 Received: (from veksler@localhost) by lnx12.haifa.ibm.com (8.11.0/8.11.0) id g3IAgmI16089; Thu, 18 Apr 2002 13:42:48 +0300 Message-Id:<200204181042.g3IAgmI16089@lnx12.haifa.ibm.com> Date: Thu, 18 Apr 2002 03:46:00 -0000 From: veksler@il.ibm.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:3.113 Subject: c++/6350: GCC crash with mixed exceptions+virtual X-SW-Source: 2002-04/txt/msg00920.txt.bz2 List-Id: >Number: 6350 >Category: c++ >Synopsis: 3.1 crash on multiple-catch + overriden virtual functions >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Apr 18 03:46:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: veksler >Release: 3.1 20020416 (prerelease) >Organization: >Environment: System: Linux lnx12.haifa.ibm.com 2.2.16-22.c4eb #1 SMP Tue Apr 3 09:32:12 IST 2001 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ../gcc-3.1/configure --prefix=/home2/veksler/gnu2 --enable-languages=c++ >Description: GCC crashes when the following (simple) code is compiled: $ /home2/veksler/gnu2/bin/g++ -O -c t.cpp t.cpp: In member function `virtual void SubClass::f()': t.cpp:20: Internal compiler error in remove_eh_handler, at except.c:2696 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. In the example there are no pre-processor directives, so temp files are not sent with the report. ----- t.cpp start ---- // Run this with g++ -O -c t.cpp class Base { public: virtual void f( ); }; class SubClass : public Base { public: void f(); }; void SubClass::f() { try { } catch(int) { } catch(...) { } } ----- t.cpp end ---- >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: