public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: veksler@il.ibm.com To: gcc-gnats@gcc.gnu.org Subject: c++/6350: GCC crash with mixed exceptions+virtual Date: Thu, 18 Apr 2002 03:46:00 -0000 [thread overview] Message-ID: <200204181042.g3IAgmI16089@lnx12.haifa.ibm.com> (raw) >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 <URL:http://www.gnu.org/software/gcc/bugs.html> 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:
reply other threads:[~2002-04-18 10:46 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200204181042.g3IAgmI16089@lnx12.haifa.ibm.com \ --to=veksler@il.ibm.com \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).