https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105950
--- Comment #39 from Jakub Jelinek <jakub at gcc dot gnu.org> --- GCC didn't crash with SIGILL. GCC was asked to compile a program with AVX2 instruction set, it has done that. When such a program is run on a hardware that doesn't support some of its instructions, it is termined by the SIGILL signal by the kernel, as hardware raises an exception that there is unknown instruction. What do you expect could GCC done about that?