https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110436
Bug ID: 110436 Summary: ICE in vectorizable_live_operation, at tree-vect-loop.cc:10170 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux Target: aarch64-suse-linux Using a cross compiler (revision r14-2079-g9326a49c9e9d63) configured with /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/configure --enable-languages=c,c++,fortran,rust,m2 --disable-bootstrap --disable-libsanitizer --disable-multilib --enable-checking=release --prefix=/home/worker/cross --target=aarch64-linux-gnu --with-as=/usr/bin/aarch64-suse-linux-as to compile our own testcase testsuite/gcc.dg/pr83089.c with -O3 results in an ICE: $ ~/cross/bin/aarch64-linux-gnu-gcc gcc/testsuite/gcc.dg/pr83089.c -O3 -o /tmp/aaa.out during GIMPLE pass: vect gcc/testsuite/gcc.dg/pr83089.c: In function ‘it’: gcc/testsuite/gcc.dg/pr83089.c:8:1: internal compiler error: in vectorizable_live_operation, at tree-vect-loop.cc:10170 8 | it (int zy, short int el) | ^~ 0x744be1 vectorizable_live_operation(vec_info*, _stmt_vec_info*, gimple_stmt_iterator*, _slp_tree*, _slp_instance*, int, bool, vec<stmt_info_for_cost, va_heap, vl_ptr>*) /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/tree-vect-loop.cc:10170 0x187e8ac can_vectorize_live_stmts /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/tree-vect-stmts.cc:11694 0x18a5c53 vect_analyze_stmt(vec_info*, _stmt_vec_info*, bool*, _slp_tree*, _slp_instance*, vec<stmt_info_for_cost, va_heap, vl_ptr>*) /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/tree-vect-stmts.cc:11928 0xf42c61 vect_analyze_loop_operations /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/tree-vect-loop.cc:2083 0xf42c61 vect_analyze_loop_2 /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/tree-vect-loop.cc:2869 0xf44b00 vect_analyze_loop_1 /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/tree-vect-loop.cc:3301 0xf45261 vect_analyze_loop(loop*, vec_info_shared*) /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/tree-vect-loop.cc:3455 0xf7eed5 try_vectorize_loop_1 /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/tree-vectorizer.cc:1064 0xf7eed5 try_vectorize_loop /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/tree-vectorizer.cc:1180 0xf7f70c execute /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/tree-vectorizer.cc:1296 Please submit a full bug report, with preprocessed source (by using -freport-bug).