https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108601
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |13.0 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So here is how I would tackle this: Put all the needed .i/.ii files in a response file. $CC -c @files @options $CC -r -o file.o @fileso @options Since this is only at profile generated stage it is not as hard ... Then start by reducing the needed .o files in `fileso` . When that is finished. Update `files` to match `fileso`. and then run delta (or another automated reducer) over the files in `files`. Maybe even change -flto=auto etc.