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]
Other format: [Raw text]

c++/5682: ICE in build_secondary_vtable



>Number:         5682
>Category:       c++
>Synopsis:       ICE in build_secondary_vtable
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 13 05:16:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     j@bellinghausen.net
>Release:        gcc-3.1 20020213
>Organization:
>Environment:
Any
>Description:
struct A
{
  virtual int f1 ();
};

class B : public virtual A
{
};

struct C
{
  virtual int f2 ();
};

class E : public A
{
};

class D : public E, public B
{
};

class F : public virtual D
{
};

class G : public virtual F, public C
{
};

class H : public virtual F
{
};

class I : public G, public H
{
};

causes ICE in build_secondary_vtable, at cp/class.c:674
binfo != binfo_for_vbase(BINFO_TYPE(binfo), for_type)
>How-To-Repeat:

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