On 2015.11.19 at 15:38 +0100, Martin Liška wrote: > > In last two weeks I've removed couple of memory leaks, mainly tight to > middle-end. Currently, a user of the GCC compiler can pass > '--enable-checking=valgrind' configure option that will run all > commands within valgrind environment, but as the valgrind runs just > with '-q' option, the result is not very helpful.
Well, it is easy to add as many valgrind options as you like to gcc.c. (I normally add --track-origins=yes and just adjust the for loop at line 3045). The advantage of that approach is that the valgrind annotation macros for the alloc-pool and the garbage collector (etc.) are used. So no suppression file is needed. -- Markus