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

            Bug ID: 109025
           Summary: ice in nested_in_vect_loop_p
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 54586
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54586&action=edit
C source code

The attached C code, when compiled by recent gcc and compiler flag -O3,
does this:

runData/keep/in.35565.c: In function ‘func_1.isra’:
runData/keep/in.35565.c:187:16: internal compiler error: Segmentation fault
0xdb5149 crash_signal(int)
        ../../trunk.d1/gcc/toplev.cc:314
0x10424d1 nested_in_vect_loop_p(loop*, _stmt_vec_info*)
        ../../trunk.d1/gcc/tree-vectorizer.h:1648
0x10424d1 vectorizable_reduction(_loop_vec_info*, _stmt_vec_info*, _slp_tree*,
_
slp_instance*, vec<stmt_info_for_cost, va_heap, vl_ptr>*)
        ../../trunk.d1/gcc/tree-vect-loop.cc:6943

The bug first seems to occur sometime between git hash g:4acc4c2be84d6607,
dated 20221101 and g:d0a3d55ae4a2656f, dated 20221201.

I have a reduction running.

Reply via email to