[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#356435: g++-4.1: may fail to generate code for base destructor defined inline

* Ben Hutchings <ben@decadentplace.org.uk> [2006-03-12 01:41]:
> Where a base class has a destructor defined inline, g++ may generate
> code for a derived class's destructor that calls an non-inline version
> of the base class destructor, but without generating code for the
> latter.  This is normally masked by the fact that g++ 4.1 now
> generates the base-class destructor (aka the non-in-charge destructor)
> along with the whole-object destructor (aka the in-charge
> destructor), but becomes a problem when linking with code generated by
> g++ 4.0.
> See bug #356245 for an example of this.  Unfortunately I have not yet
> succeeded in writing a simple test case.

Falk, even without a minimal test case, do you think you can forward
this upstream.  Maybe someone there'll have a good idea.  I can also
produce pregenerated code for xbsql (the package that fails in
#356245) if you want.
Martin Michlmayr

Reply to: