Re: [PATCH] libiberty: Don't update and remove did_subs field from demangler structs.

2017-04-18 Thread Ian Lance Taylor via gcc-patches
On Tue, Apr 18, 2017 at 1:56 PM, Mark Wielaard wrote: > > On Sat, Dec 03, 2016 at 10:54:58PM +0100, Mark Wielaard wrote: >> The d_info field did_subs was used for estimating the string output >> size. It was no longer used when the malloc-less callback interface >> was introduced in 2007 (svn r121

Re: [PATCH] libiberty: Don't update and remove did_subs field from demangler structs.

2017-04-18 Thread Mark Wielaard
Hi, On Sat, Dec 03, 2016 at 10:54:58PM +0100, Mark Wielaard wrote: > The d_info field did_subs was used for estimating the string output > size. It was no longer used when the malloc-less callback interface > was introduced in 2007 (svn r121305). But the field was still updated. > When backtrackin

[PATCH] libiberty: Don't update and remove did_subs field from demangler structs.

2016-12-03 Thread Mark Wielaard
The d_info field did_subs was used for estimating the string output size. It was no longer used when the malloc-less callback interface was introduced in 2007 (svn r121305). But the field was still updated. When backtracking was introduced in 2013 (svn r205292) did_subs was also added to the d_info