[Bug rtl-optimization/91931] New: [10 Regression] ICE in decompose, at rtl.h:2277

asolokha at gmx dot com gcc-bugzilla@gcc.gnu.org
Sun Sep 29 05:10:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91931

            Bug ID: 91931
           Summary: [10 Regression] ICE in decompose, at rtl.h:2277
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Keywords: ice-checking, ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: x86_64-unknown-linux-gnu

gcc-10.0.0-alpha20190922 snapshot (r276031) ICEs when compiling
gcc/testsuite/gcc.dg/vect/pr32216.c w/ -mavx -O1 -ftree-loop-vectorize:

% x86_64-unknown-linux-gnu-gcc-10.0.0-alpha20190922 -mavx -O1
-ftree-loop-vectorize -c gcc/testsuite/gcc.dg/vect/pr32216.c
during RTL pass: expand
gcc/testsuite/gcc.dg/vect/pr32216.c: In function 'SetSoundVariables':
gcc/testsuite/gcc.dg/vect/pr32216.c:11:17: internal compiler error: in
decompose, at rtl.h:2277
   11 |     wlookup2[x] = (double) 16 / x;
      |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
0x688272 wi::int_traits<std::pair<rtx_def*, machine_mode> >::decompose(long*,
unsigned int, std::pair<rtx_def*, machine_mode> const&)
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/rtl.h:2277
0x688272 wide_int_ref_storage<false,
true>::wide_int_ref_storage<std::pair<rtx_def*, machine_mode>
>(std::pair<rtx_def*, machine_mode> const&)
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/wide-int.h:1022
0x688272 generic_wide_int<wide_int_ref_storage<false, true>
>::generic_wide_int<std::pair<rtx_def*, machine_mode> >(std::pair<rtx_def*,
machine_mode> const&)
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/wide-int.h:782
0x688272 native_encode_rtx(machine_mode, rtx_def*, vec<unsigned char, va_heap,
vl_ptr>&, unsigned int, unsigned int)
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/simplify-rtx.c:6210
0xd40ada native_encode_rtx(machine_mode, rtx_def*, vec<unsigned char, va_heap,
vl_ptr>&, unsigned int, unsigned int)
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/simplify-rtx.c:6180
0xd4c051 simplify_const_vector_subreg
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/simplify-rtx.c:6529
0xd4c051 simplify_subreg(machine_mode, rtx_def*, machine_mode, poly_int<1u,
unsigned long>)
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/simplify-rtx.c:6643
0xd4cdae simplify_gen_subreg(machine_mode, rtx_def*, machine_mode, poly_int<1u,
unsigned long>)
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/simplify-rtx.c:6873
0xd12693 gen_lowpart_general(machine_mode, rtx_def*)
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/rtlhooks.c:48
0x10d0fe3 ix86_expand_vector_logical_operator(rtx_code, machine_mode,
rtx_def**)
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/config/i386/i386-expand.c:999
0x141ab1a gen_andv8si3(rtx_def*, rtx_def*, rtx_def*)
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/config/i386/sse.md:12944
0xc74be4 expand_binop_directly
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/optabs.c:1122
0xc727c2 expand_binop(machine_mode, optab_tag, rtx_def*, rtx_def*, rtx_def*,
int, optab_methods)
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/optabs.c:1209
0x10d25cf ix86_expand_adjust_ufix_to_sfix_si(rtx_def*, rtx_def**)
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/config/i386/i386-expand.c:1699
0x13fc71b gen_vec_pack_ufix_trunc_v4df(rtx_def*, rtx_def*, rtx_def*)
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/config/i386/sse.md:7106
0xc74be4 expand_binop_directly
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/optabs.c:1122
0xc727c2 expand_binop(machine_mode, optab_tag, rtx_def*, rtx_def*, rtx_def*,
int, optab_methods)
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/optabs.c:1209
0xa3b50b expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/expr.c:9790
0xa28c41 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/expr.c:9993
0xa3807e expand_expr
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190922/work/gcc-10-20190922/gcc/expr.h:281


More information about the Gcc-bugs mailing list