https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34983
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> --- GCC 14 requires just 600MB ram at -O2 now and the testcase requires -fpermissive. GCC 12 required a tiny bit less. Turning to the "worst" case using -m32 -g -fPIC I get up to 780MB, ontop of -O3 vs -O2 it becomes 815MB. The very worst case has a flat profile besides tree FRE : 5.52 ( 20%) let's close this as fixed also given the bad state of the testcase, there's nothing specific for it anymore and memory usage is better than in GCC 4.3.