https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114137
--- Comment #2 from Sam James <sjames at gcc dot gnu.org> --- The bug is very reproducible with the original command, but... I can't reproduce it with the preprocessed source or with -save-temps on the original command line, but pinskia suggested I try --param=ggc-min-expand=1 --param=ggc-min-heapsize=1 which fixes the original crash...