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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |17.0
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |needs-bisection
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2026-09-10

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
during GIMPLE pass: vect
t.c: In function ‘mixed_dot_induction’:
t.c:2:1: internal compiler error: Segmentation fault
    2 | mixed_dot_induction (unsigned int n)
      | ^~~~~~~~~~~~~~~~~~~
0x4014bbd internal_error(char const*, ...)
        /space/rguenther/src/gcc-clean/gcc/diagnostic-global-context.cc:787
0x1bdf9d5 crash_signal
        /space/rguenther/src/gcc-clean/gcc/toplev.cc:325
0x1c9387e make_temp_ssa_name(tree_node*, gimple*, char const*)
        /space/rguenther/src/gcc-clean/gcc/tree-ssanames.h:136
0x1fcbce7 vect_get_loop_mask(_loop_vec_info*, gimple_stmt_iterator*,
vec_loop_masks*, unsigned int, tree_node*, unsigned int)
        /space/rguenther/src/gcc-clean/gcc/tree-vect-loop.cc:10622
0x1fc28fa vect_transform_reduction(_loop_vec_info*, _stmt_vec_info*,
gimple_stmt_iterator*, _slp_tree*)
        /space/rguenther/src/gcc-clean/gcc/tree-vect-loop.cc:8253
0x1f9a7cf vect_transform_stmt(vec_info*, _stmt_vec_info*,
gimple_stmt_iterator*, _slp_tree*, _slp_instance*)
        /space/rguenther/src/gcc-clean/gcc/tree-vect-stmts.cc:13197
0x2015509 vect_schedule_slp_node
        /space/rguenther/src/gcc-clean/gcc/tree-vect-slp.cc:12399
0x2016b6d vect_schedule_scc
        /space/rguenther/src/gcc-clean/gcc/tree-vect-slp.cc:12722

Program received signal SIGSEGV, Segmentation fault.
0x0000000001c9387e in make_temp_ssa_name (type=<tree 0x0>, stmt=<gimple 0x0>,
name=0x44784a3 "loop_mask")
    at /space/rguenther/src/gcc-clean/gcc/tree-ssanames.h:136
136       gcc_checking_assert (TYPE_P (type));

I think this means we query for a mask that we didn't register previously.

Reply via email to