https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62291
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Btw, the testcase is absymally slow in compiling even with -O1 if you enable glibc memory checking with both(!) MALLOC_CHECK_=3 and MALLOC_PERTURB_=69 I have no idea why... (constant overhead seems to be on the order of a factor of tree for pure malloc/free/realloc workload, but compiling the testcase goes from 30s to infinity - aborted after an hour). We certainly do some stupid reallocs (c.f. vec::safe_grow[_cleared] doing a reserve_exact and thus some vectors grow element-by-element).