public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/3089: ICE in dfs_accumulate_vtbl_inits
@ 2001-06-08 14:56 snyder
0 siblings, 0 replies; 3+ messages in thread
From: snyder @ 2001-06-08 14:56 UTC (permalink / raw)
To: gcc-gnats; +Cc: snyder
>Number: 3089
>Category: c++
>Synopsis: ICE in dfs_accumulate_vtbl_inits
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Fri Jun 08 14:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: scott snyder
>Release: 3.0 20010608 (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 in dfs_accumulate_vtbl_inits for the example below:
$ ./cc1plus x.cc
x.cc:15: Internal error #20010126.
x.cc:15: Internal compiler error in dfs_accumulate_vtbl_inits, at cp/class.c:
7620
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 B, virtual public A {};
struct D : virtual public A {};
struct E : virtual public C, virtual public D {};
struct F : virtual public E {};
-------------------------------------------
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/3089: ICE in dfs_accumulate_vtbl_inits
@ 2001-06-12 1:48 nathan
0 siblings, 0 replies; 3+ messages in thread
From: nathan @ 2001-06-12 1:48 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nathan, snyder
Synopsis: ICE in dfs_accumulate_vtbl_inits
State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Tue Jun 12 01:48:31 2001
State-Changed-Why:
2001-06-12 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.
2001-06-12 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.abi/vbase4.C: New test.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3089&database=gcc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/3089: ICE in dfs_accumulate_vtbl_inits
@ 2001-06-09 4:40 nathan
0 siblings, 0 replies; 3+ messages in thread
From: nathan @ 2001-06-09 4:40 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nathan, nobody, snyder
Synopsis: ICE in dfs_accumulate_vtbl_inits
Responsible-Changed-From-To: unassigned->nathan
Responsible-Changed-By: nathan
Responsible-Changed-When: Sat Jun 9 04:40:54 2001
Responsible-Changed-Why:
working on it
State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Sat Jun 9 04:40:54 2001
State-Changed-Why:
ow!
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3089&database=gcc
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-06-12 1:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-08 14:56 c++/3089: ICE in dfs_accumulate_vtbl_inits snyder
2001-06-09 4:40 nathan
2001-06-12 1:48 nathan
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).