https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101812
Bug ID: 101812 Summary: [12 Regression] ICE: Segmentation fault (in ix86_expand_sse_movcc) Product: gcc Version: unknown 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-12.0.0-alpha20210801 (g:6f0c43e97825ee54e3779afbedcd0def12443001) ICEs when compiling gcc/testsuite/gcc.target/arm/neon-vcond-ltgt.c w/ -O1 -ftree-loop-vectorize -fvect-cost-model=unlimited: % x86_64-unknown-linux-gnu-gcc-12.0.0 -O1 -ftree-loop-vectorize -fvect-cost-model=unlimited -c gcc/testsuite/gcc.target/arm/neon-vcond-ltgt.c during RTL pass: expand gcc/testsuite/gcc.target/arm/neon-vcond-ltgt.c: In function 'foo': gcc/testsuite/gcc.target/arm/neon-vcond-ltgt.c:7:6: internal compiler error: Segmentation fault 7 | void foo (int ilast,float* w, float* w2) | ^~~ 0xe4816f crash_signal /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/toplev.c:328 0x128d90a ix86_expand_sse_movcc(rtx_def*, rtx_def*, rtx_def*, rtx_def*) /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/config/i386/i386-expand.c:3815 0x128f491 ix86_expand_fp_vcond(rtx_def**) /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/config/i386/i386-expand.c:4685 0x167e4b9 gen_vcondv2sfv2sf(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*) /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/config/i386/mmx.md:908 0xd2af98 maybe_expand_insn(insn_code, unsigned int, expand_operand*) /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/optabs.c:7835 0xd2af98 expand_insn(insn_code, unsigned int, expand_operand*) /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/optabs.c:7866 0xbb61d0 expand_vec_cond_optab_fn /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/internal-fn.c:2812 0x97e637 expand_call_stmt /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/cfgexpand.c:2752 0x97e637 expand_gimple_stmt_1 /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/cfgexpand.c:3879 0x97e637 expand_gimple_stmt /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/cfgexpand.c:4043 0x984889 expand_gimple_basic_block /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/cfgexpand.c:6085 0x98663e execute /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/cfgexpand.c:6811