Re: [PATCH] Fix valgrind checking bootstrap with PCH (PR middle-end/56461)

2013-03-04 Thread Jakub Jelinek
On Fri, Mar 01, 2013 at 09:16:16PM +0100, Jakub Jelinek wrote: Bootstrapped/regtested on x86_64-linux and i686-linux, tested also with valgrind checking on various testcases (full --enable-checking=yes,valgrind bootstrap queued for the weekend). FYI, with this patch (first time I remember) the

[PATCH] Fix valgrind checking bootstrap with PCH (PR middle-end/56461)

2013-03-01 Thread Jakub Jelinek
Hi! When I've tried --enable-checking=valgrind bootstrap recently, it failed as soon as compiling first PCH header. The problem is that in ggc_internal_alloc_stat we often increase the requested size through ggc_round_alloc_size_1 (size, order, object_size); and there is no way to query the