PATCH for expr.c

Jeffrey A Law law@cygnus.com
Wed May 27 23:41:00 GMT 1998


  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



More information about the Gcc-patches mailing list