This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c++/3089: ICE in dfs_accumulate_vtbl_inits



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]