https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107435
Bug ID: 107435 Summary: ice in build_vector_from_val, at tree.cc:2125 Product: gcc Version: 12.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 53780 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53780&action=edit C source code For the attached code, compiled with -std=gnu89 -O3 -march=znver3 -c bug858.c recent gcc does this: during GIMPLE pass: vect src/io/trove/trove-dbpf/dbpf-open-cache.c: In function ‘dbpf_open_cache_initiali ze’: src/io/trove/trove-dbpf/dbpf-open-cache.c:100:6: internal compiler error: in bui ld_vector_from_val, at tree.cc:2125 0x1072d8e build_vector_from_val(tree_node*, tree_node*) ../../trunk.git/gcc/tree.cc:2124 0x100a927 vectorizable_recurr(_loop_vec_info*, _stmt_vec_info*, gimple**, _slp_t ree*, vec<stmt_info_for_cost, va_heap, vl_ptr>*) ../../trunk.git/gcc/tree-vect-loop.cc:8472 The bug first seems to occur sometime between git hash baeec7cc83b19b46 and 3bd5d9a28e1ce4d1, a day later. I have a reduction running.