public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: snyder@fnal.gov To: gcc-gnats@gcc.gnu.org Subject: c++/3130: ICE in build_rtti_vtbl_entries with complex virtual derivation Date: Mon, 11 Jun 2001 15:46:00 -0000 [thread overview] Message-ID: <200106112229.f5BMTkg26878@karma.fnal.gov> (raw) >Number: 3130 >Category: c++ >Synopsis: ICE in build_rtti_vtbl_entries with complex virtual derivation >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Mon Jun 11 15:46:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: scott snyder >Release: 3.0 20010611 (prerelease) >Organization: >Environment: System: Linux karma 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ../egcs/configure --prefix=/usr/local/egcs --enable-threads=posix --enable-long-long >Description: I get an ICE for the source below: $ ./cc1plus yy.cc yy.cc:14: Internal error #20010127. yy.cc:14: Internal compiler error in build_rtti_vtbl_entries, at cp/class.c: 8199 Please submit a full bug report, with preprocessed source if appropriate. See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions. >How-To-Repeat: ------------------------------------------------------------ struct A { virtual ~A (); }; struct B { virtual ~B (); }; struct C : virtual public A, virtual public B {}; class D : public virtual C {}; class E : public virtual C, public virtual D {}; ------------------------------------------------------------ >Fix: >Release-Note: >Audit-Trail: >Unformatted: I have this patch from Nathan installed: 2001-06-11 Nathan Sidwell <nathan@codesourcery.com> PR c++/3089 * class.c (dfs_accumulate_vtbl_inits): Always walk down the hierarchy looking for primary bases for a ctor vtable. Recursively call oneself, if we meet our primary via this route and haven't met it yet via inheritance graph order. But i get the ICE both with and without the patch.
next reply other threads:[~2001-06-11 15:46 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-06-11 15:46 snyder [this message] 2001-06-11 21:53 mmitchel 2001-06-12 1:20 nathan 2001-06-12 11:05 nathan
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=200106112229.f5BMTkg26878@karma.fnal.gov \ --to=snyder@fnal.gov \ --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).