On Wed, Oct 9, 2013 at 2:14 PM, Rafael Espíndola
<[email protected]> wrote:
> The problem seems to be that clang produces
>
> _ZN7DerivedD1Ev = _ZN7DerivedD2Ev
> _ZN7DerivedD2Ev = _ZN4BaseD2Ev
>
> While gcc is less aggressive:
>
> .set _ZN7DerivedD1Ev,_ZN7DerivedD2Ev
>
> Should we disable the "derived destructor == base destructor"
> optimization at -O0?
>

We definitely shouldn't disable it at a particular optimization level
just to make debugging easier. The testcase isn't very clear why it
expects that we should be able to go up from the derived destructor to
the base destructor here.

-eric

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to