[patch] Don't use alias from derived dtor to base dtor at -O0
Eric Christopher
echristo at gmail.com
Wed Nov 13 15:05:18 PST 2013
After discussion in IRC we've decided to go with this for now to make
debugging a little nicer at O0 while filing a bug to see if we can get
the optimizers to do this for us in a way that gives us full stack
information.
-eric
On Tue, Nov 12, 2013 at 10:17 AM, Rafael EspĂndola
<rafael.espindola at gmail.com> wrote:
> The attached patch disables aliasing (and rauw) of derived dtors to
> base dtors at -O0. This optimization can have a negative impact on the
> debug quality.
>
> This was a latent bug for some time with local classes, but got
> noticed when it was generalized and broke gdb's destrprint.exp.
>
> Cheers,
> Rafael
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
More information about the cfe-commits
mailing list