Re: [PATCH] fix memory accounting for copying nodes

2011-03-24 Thread Richard Guenther
On Thu, Mar 24, 2011 at 3:46 PM, Nathan Froyd wrote: > tree.c can gather optionally statistics--counts and total bytes > allocated--when tree nodes are created.  Due to an oversight, however, > this accounting is not performed when nodes are copied.  The patch below > corrects this oversight and m

[PATCH] fix memory accounting for copying nodes

2011-03-24 Thread Nathan Froyd
tree.c can gather optionally statistics--counts and total bytes allocated--when tree nodes are created. Due to an oversight, however, this accounting is not performed when nodes are copied. The patch below corrects this oversight and moves things around so the accounting is done in (almost) only