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

            Bug ID: 105945
           Summary: [12/13 Regression] ICE in maybe_gen_insn, at
                    optabs.cc:7956
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gs...@t-online.de
  Target Milestone: ---

Started between 20211003 and 20211010, with gcc.c-torture/compile/20051216-1.c
:
(older with -Ofast)


$ gcc-13-20220612 -c 20051216-1.c -O2 -fdisable-tree-vect
cc1: note: disable pass tree-vect for functions in the range of [0, 4294967295]
$
$ gcc-13-20220612 -c 20051216-1.c -O2 -fdisable-tree-vect -mavx
cc1: note: disable pass tree-vect for functions in the range of [0, 4294967295]
during RTL pass: expand
20051216-1.c: In function 'test':
20051216-1.c:70:48: internal compiler error: in maybe_gen_insn, at
optabs.cc:7956
   70 |               vp->segs[asi].points[cursor[asi]].y == y)
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
0xb0c69e maybe_gen_insn(insn_code, unsigned int, expand_operand*)
        ../../gcc/optabs.cc:7956
0xb0bd48 maybe_expand_insn(insn_code, unsigned int, expand_operand*)
        ../../gcc/optabs.cc:8000
0xb0bd48 expand_insn(insn_code, unsigned int, expand_operand*)
        ../../gcc/optabs.cc:8031
0x9bb008 expand_partial_load_optab_fn
        ../../gcc/internal-fn.cc:2737
0x7d0557 expand_call_stmt
        ../../gcc/cfgexpand.cc:2737
0x7d0557 expand_gimple_stmt_1
        ../../gcc/cfgexpand.cc:3869
0x7d0557 expand_gimple_stmt
        ../../gcc/cfgexpand.cc:4033
0x7d5707 expand_gimple_basic_block
        ../../gcc/cfgexpand.cc:6085
0x7d81ce execute
        ../../gcc/cfgexpand.cc:6811

Reply via email to