https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26854
--- Comment #148 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to lucier from comment #145) > Created attachment 54424 [details] > CPU and Memory usage reports for mainline 13.0.1 (mainline) > > Thank you for looking at this issue again. > > I built today's mainline and ran three tests: > > /pkgs/gcc-mainline/bin/gcc -v -c -O2 -fmem-report -ftime-report compiler.i > -save-temps >& report-compiler4 > /pkgs/gcc-mainline/bin/gcc -v -c -O2 -fmem-report -ftime-report all.i > -save-temps >& report-all4 > /pkgs/gcc-mainline/bin/gcc -v -c -O2 -fmem-report -ftime-report _num.i > -save-temps >& report-_num4 > > The reports are collected here. Compiling compiler.i required over 30GB at > certain points. I haven't really studied these types of reports in a while, > so I can offer little analysis. Yes, I've mostly looked at performance with -O1 since that's what we suggest if -O2+ run into issues. That seems to be in check with GCC 13, memory peak is at ~1GB for me for compiler.i I'll look at -O2 now, the mdreorg thing seems "new" (DF RD is a known source of issues here ...).