https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103974
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This the steps I needed to reproduce this bug; mkdir objdir-cris cd objdir-cris ../configure --target=cris-elf make -j24 all-gcc cd gcc wget https://gcc.gnu.org/bugzilla/attachment.cgi?id=52159 mv attach* t.c ./cc1 t.c -O2 (you can do at this point: make clean make -j24 cc1 and get a -O0 built cc1 too if needed).