https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95426
--- Comment #5 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Created attachment 48657 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48657&action=edit Reduced test case I've reduced the reproducer you posted to this test case. Seems to require a call to __builtin_unreachable followed by code, without optimization, leading to a crash in the "expand" pass when transitioning from gimple to RTL internally, due to an unexpected barrier insn in the RTL.