On 02/25/2016 07:02 PM, David Malcolm wrote: > Was this tested with "jit" in --enable-languages? I ask because > toplev::main can be run repeatedly by libgccjit, and it looks like > nothing can reset after_memory_report. (Though I don't typically build > with --enable-gather-detailed-mem-stats, and the jit docs don't mention > it).
Wasn't, however as I've just retested that with jit in --enable-languages it works. However, you are right that it's not reset anywhere. I will try to come up with a better solution for GCC 7. Martin