https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86344
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- One thing which you can do (note on the trunk, you need to add an extra option; I don't remember what it is currently), is link with -r and reduce the number of object files to the ones which crash. And then add -save-temps to the orginal gcc and reduce the preprocessed source using multi-delta (or other tools).