This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21427] [3.4/4.0 only] Failure in make_thunk, cp/method.c:145 when compiling with multiply-inherited members
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2005 22:43:31 -0000
- Subject: [Bug c++/21427] [3.4/4.0 only] Failure in make_thunk, cp/method.c:145 when compiling with multiply-inherited members
- References: <20050506205806.21427.lord.dimwit@gmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-06 22:43 -------
Further reduced:
struct B1
{
virtual void f(void);
};
struct B2
{
virtual B2 &g() = 0;
};
struct I : B1, private B2
{
I &g();
};
struct D : I
{
};
This works on the mainline.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Known to fail| |3.4.0 4.0.0
Known to work| |4.1.0
Summary|Failure in make_thunk, |[3.4/4.0 only] Failure in
|cp/method.c:145 when |make_thunk, cp/method.c:145
|compiling with multiply- |when compiling with
|inherited members |multiply-inherited members
Target Milestone|--- |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21427