https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98133
Bug ID: 98133 Summary: ICE in vectorizable_conversion, at tree-vect-stmts.c:4690 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: rguenth at gcc dot gnu.org, rsandifo at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux Target: aarch64-linux-gnu The following fails: $ g++ /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/vect/pr96022.cc -Ofast --param=max-completely-peeled-insns=0 -fno-tree-loop-im -fno-tree-pre -c during GIMPLE pass: vect /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/vect/pr96022.cc: In function ‘void test(short int, bool, int)’: /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/vect/pr96022.cc:6:6: internal compiler error: in vectorizable_conversion, at tree-vect-stmts.c:4690 6 | void test(short a, bool, int p8) { | ^~~~ 0x6a2afb vectorizable_conversion /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/tree-vect-stmts.c:4690 0xf08773 vect_analyze_stmt(vec_info*, _stmt_vec_info*, bool*, _slp_tree*, _slp_instance*, vec<stmt_info_for_cost, va_heap, vl_ptr>*) /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/tree-vect-stmts.c:10694 0xf23c08 vect_analyze_loop_operations /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/tree-vect-loop.c:1758 0xf23c08 vect_analyze_loop_2 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/tree-vect-loop.c:2478 0xf23c08 vect_analyze_loop(loop*, vec_info_shared*) /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/tree-vect-loop.c:2925 0xf48321 try_vectorize_loop_1 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/tree-vectorizer.c:995 0xf48d19 vectorize_loops() /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/tree-vectorizer.c:1229 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.