https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94191
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Don't do it or buy enough memory. RTL checking alone already creates lots of basic blocks due to all the checks it performs (in the code the compiler is compiling) and ubsan as well (in the instrumentation it adds for it), and when you compile the huge auto-generated files, it is costly.