https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67649
--- Comment #7 from Mikhail Maltsev <miyuki at gcc dot gnu.org> --- Probably. Will look at this today (valgrind has some sort of memory pool API, I think it can be used here). I need to configure GCC with --enable-checking=yes,valgrind to reproduce this, right?