https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99104
Bug ID: 99104 Summary: [11 Regression] ICE: Segmentation fault (in bitmap_list_find_element) Product: gcc Version: 11.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-pc-linux-gnu-gcc gcc-11.0.0-alpha20210214 snapshot (g:9966699d7a9d8e35c0c4cf9a945bcf90ef874f2d) ICEs when compiling the following testcase w/ -O2 -fsel-sched-pipelining -fselective-scheduling2 -funroll-loops: __int128 i128_0; int s_1; int func_6 (void); int __attribute__ ((simd)) func_4 (void) { i128_0 = ~i128_0; if (func_6 ()) s_1 = 0; } % x86_64-pc-linux-gnu-gcc-11.0.0 -O2 -fsel-sched-pipelining -fselective-scheduling2 -funroll-loops -c mconkyrw.c during RTL pass: split4 mconkyrw.c: In function 'func_4.simdclone.7': mconkyrw.c:14:1: internal compiler error: Segmentation fault 14 | } | ^ 0xe033cf crash_signal /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20210214/work/gcc-11-20210214/gcc/toplev.c:327 0x90c64c bitmap_list_find_element /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20210214/work/gcc-11-20210214/gcc/bitmap.c:352 0x90c64c bitmap_bit_p(bitmap_head const*, int) /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20210214/work/gcc-11-20210214/gcc/bitmap.c:995 0x1182ed9 ix86_ok_to_clobber_flags /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20210214/work/gcc-11-20210214/gcc/config/i386/i386.c:15000 0x118379e ix86_avoid_lea_for_addr(rtx_insn*, rtx_def**) /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20210214/work/gcc-11-20210214/gcc/config/i386/i386.c:15075 0x1786aa2 split_11 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20210214/work/gcc-11-20210214/gcc/config/i386/i386.md:5192 0x179d83a split_insns(rtx_def*, rtx_insn*) /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20210214/work/gcc-11-20210214/gcc/config/i386/i386.md:14096 0xa502b9 try_split(rtx_def*, rtx_insn*, int) /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20210214/work/gcc-11-20210214/gcc/emit-rtl.c:3834 0xd65356 split_insn /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20210214/work/gcc-11-20210214/gcc/recog.c:3361 0xd6aab7 split_all_insns() /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20210214/work/gcc-11-20210214/gcc/recog.c:3465 0xd6ab68 execute /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20210214/work/gcc-11-20210214/gcc/recog.c:4383