https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115741
Bug ID: 115741 Summary: [15] RISC-V: ICE in vectorizable_load, at tree-vect-stmts.cc:11524 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ewlu at rivosinc dot com Target Milestone: --- The following testcases are failing on linux rv32gcv with zvl512b and zvl1024b FAIL: gcc.dg/vect/pr106081.c (internal compiler error: in vectorizable_load, at tree-vect-stmts.cc:11524) FAIL: gcc.dg/vect/pr106081.c -flto -ffat-lto-objects (internal compiler error: in vectorizable_load, at tree-vect-stmts.cc:11524) during GIMPLE pass: vect dump file: pr106081.c.180t.vect ../gcc/gcc/testsuite/gcc.dg/vect/pr106081.c: In function 'test': ../gcc/gcc/testsuite/gcc.dg/vect/pr106081.c:19:1: internal compiler error: in vectorizable_load, at tree-vect-stmts.cc:11524 0x2d960e2 internal_error(char const*, ...) ../../../gcc/gcc/diagnostic-global-context.cc:491 0xc6d390 fancy_abort(char const*, int, char const*) ../../../gcc/gcc/diagnostic.cc:1725 0xb73086 vectorizable_load ../../../gcc/gcc/tree-vect-stmts.cc:11524 0x167f185 vect_transform_stmt(vec_info*, _stmt_vec_info*, gimple_stmt_iterator*, _slp_tree*, _slp_instance*) ../../../gcc/gcc/tree-vect-stmts.cc:13410 0x16cb8fd vect_schedule_slp_node ../../../gcc/gcc/tree-vect-slp.cc:9815 0x16e2eef vect_schedule_slp_node ../../../gcc/gcc/tree-vect-slp.cc:9602 0x16e2eef vect_schedule_scc ../../../gcc/gcc/tree-vect-slp.cc:10051 0x16e2e88 vect_schedule_scc ../../../gcc/gcc/tree-vect-slp.cc:10032 0x16e2e88 vect_schedule_scc ../../../gcc/gcc/tree-vect-slp.cc:10032 0x16e35e7 vect_schedule_slp(vec_info*, vec<_slp_instance*, va_heap, vl_ptr> const&) ../../../gcc/gcc/tree-vect-slp.cc:10196 0x16ad9d4 vect_transform_loop(_loop_vec_info*, gimple*) ../../../gcc/gcc/tree-vect-loop.cc:12151 0x16f4351 vect_transform_loops ../../../gcc/gcc/tree-vectorizer.cc:1007 0x16f4589 vect_transform_loops ../../../gcc/gcc/tree-vectorizer.cc:1040 0x16f4ac3 try_vectorize_loop_1 ../../../gcc/gcc/tree-vectorizer.cc:1153 0x16f4ac3 try_vectorize_loop ../../../gcc/gcc/tree-vectorizer.cc:1183 0x16f514c execute ../../../gcc/gcc/tree-vectorizer.cc:1299 godbolt (zvl512b): https://godbolt.org/z/P6fTzTbMs godbolt (zvl1024b): https://godbolt.org/z/ej35fbaGv I haven't bisected them to the specific commit yet