This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH for expr.c
- To: Jason Merrill <jason at cygnus dot com>
- Subject: Re: PATCH for expr.c
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 28 May 1998 00:27:41 -0600
- cc: mark at markmitchell dot com, egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <u9iumqj4oe.fsf@yorick.cygnus.com>you write:
> >>>>> Mark Mitchell <mark@markmitchell.com> writes:
>
> > struct Outer {
> > virtual ~Outer() {}
> > };
>
> > int
> > main()
> > {
> > { struct Inner : virtual public Outer {} inner; }
> > { struct Inner : virtual public Outer {} inner; }
> > }
>
> > The deal is that during the constructing of one of the `inner'
> > variables, the front-end creates a vtable in expand_upcast_fixups:
> > It marks this vtable as having DECL_CONTEXT of `Inner'.
>
> I think that's the problem. I'll remove that; it shouldn't be necessary
> anyway.
So we should consider the expr.c patch unnecessary, right?
jeff