Re: [Google 4.8] Fix up size of pubnames in the presence of pruned enumerators

2013-07-15 Thread Cary Coutant
> After some discussion off line, I have reworked this patch as below. > This version is cleaner and ensures the logic is just in one place. > > OK for Google 4.7 and 4.8? > > Sterling > > > 2013-07-15 Sterling Augustine > > * dwarf2out.c (output_pubnames): Rework assertion. Move logic

Re: [Google 4.8] Fix up size of pubnames in the presence of pruned enumerators

2013-07-15 Thread Sterling Augustine
On Mon, Jul 15, 2013 at 9:32 AM, Sterling Augustine wrote: > Hi Cary, > > Google 4.8 calculates the size of pubnames incorrectly in the presence > of pruned enumerators. The logic in size_of_pubnames should match that > in output_pubnames. After some discussion off line, I have reworked this patc

[Google 4.8] Fix up size of pubnames in the presence of pruned enumerators

2013-07-15 Thread Sterling Augustine
Hi Cary, Google 4.8 calculates the size of pubnames incorrectly in the presence of pruned enumerators. The logic in size_of_pubnames should match that in output_pubnames. The enclosed patch fixes that. OK for google 4.8? Sterling gcc/ChangeLog 2013-07-12 Sterling Augustine * dwarf