https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105383
--- Comment #2 from Zdenek Sojka <zsojka at seznam dot cz> --- Created attachment 52886 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52886&action=edit a bit different testcase A bit different testcase, a bit different flags: $ x86_64-pc-linux-gnu-gcc -Os -fnon-call-exceptions -fno-tree-bit-ccp -m32 testcase2.c during RTL pass: fwprop1 testcase2.c: In function 'foo': testcase2.c:15:1: internal compiler error: in change_insns, at rtl-ssa/changes.cc:674 15 | } | ^ 0xd3c823 rtl_ssa::function_info::change_insns(array_slice<rtl_ssa::insn_change*>) /repo/gcc-trunk/gcc/rtl-ssa/changes.cc:674 0x24b9c97 rtl_ssa::function_info::change_insn(rtl_ssa::insn_change&) /repo/gcc-trunk/gcc/rtl-ssa/changes.cc:717 0x2368548 try_fwprop_subst_pattern /repo/gcc-trunk/gcc/fwprop.cc:553 0x2368548 try_fwprop_subst /repo/gcc-trunk/gcc/fwprop.cc:627 0x2368c6c forward_propagate_and_simplify /repo/gcc-trunk/gcc/fwprop.cc:823 0x2368c6c forward_propagate_into /repo/gcc-trunk/gcc/fwprop.cc:886 0x2368f1b forward_propagate_into /repo/gcc-trunk/gcc/fwprop.cc:835 0x2368f1b fwprop_insn /repo/gcc-trunk/gcc/fwprop.cc:943 0x2368ff9 fwprop /repo/gcc-trunk/gcc/fwprop.cc:995 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.