https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106450
Bug ID: 106450 Summary: [13 Regression] ICE in final_scan_insn_1, at final.cc:2860 (error: could not split insn) Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: x86_64-unknown-linux-gnu gcc 13.0.0 20220724 snapshot (g:8b8103dcd2624936bd1f56ac2ee63d1fb779a7e4) ICEs when compiling the following testcase w/ -O2 -fsplit-paths: __int128 n; __attribute__ ((simd)) void foo (void) { __int128 uninitialized; unsigned __int128 *p = &n; n >>= *p ? : 2; n |= uninitialized; } % x86_64-unknown-linux-gnu-gcc-13.0.0 -O2 -fsplit-paths -c bov4bfel.c bov4bfel.c: In function 'foo.simdclone.0': bov4bfel.c:11:1: error: could not split insn 11 | } | ^ (insn:TI 14 75 61 4 (parallel [ (set (reg:TI 0 ax [92]) (ior:TI (reg:TI 0 ax [91]) (mem/c:V1TI (plus:DI (reg/f:DI 7 sp) (const_int -24 [0xffffffffffffffe8])) [2 %sfp+-16 S16 A128]))) (clobber (reg:CC 17 flags)) ]) "bov4bfel.c":10:5 573 {*iorti3_doubleword} (expr_list:REG_UNUSED (reg:CC 17 flags) (expr_list:REG_EQUIV (mem/c:TI (symbol_ref:DI ("n") [flags 0x2] <var_decl 0x7f1053cffbd0 n>) [1 n+0 S16 A128]) (nil)))) during RTL pass: final bov4bfel.c:11:1: internal compiler error: in final_scan_insn_1, at final.cc:2860 0x72828d _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /var/tmp/portage/sys-devel/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/rtl-error.cc:108 0x6bc8a6 final_scan_insn_1 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/final.cc:2860 0xb3597b final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) /var/tmp/portage/sys-devel/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/final.cc:2939 0xb35b24 final_1 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/final.cc:1996 0xb366d6 rest_of_handle_final /var/tmp/portage/sys-devel/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/final.cc:4284 0xb366d6 execute /var/tmp/portage/sys-devel/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/final.cc:4364