https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103231
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unknown |12.0 Keywords| |ice-on-valid-code --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- You might want to try adding "--param ggc-min-expand=1 --param ggc-min-heapsize=1", it might cause the ICE to be come deterministic. There are a few other options including running cc1 under valgrind too.