https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108957
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |memory-hog --- Comment #3 from anlauf at gcc dot gnu.org --- (In reply to Mikael Morin from comment #1) > This seems to do the trick for this testcase: [...] > I can't fully test it right now. Regtests cleanly on x86_64-pc-linux-gnu here, and passes further tests. And yes, the memleak is gone for the example.