https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84567
Bug ID: 84567 Summary: ICE in vectorize_fold_left_reduction, at tree-vect-loop.c:6224 Product: gcc Version: unknown 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: amker at gcc dot gnu.org, richard.sandiford at linaro dot org Target Milestone: --- Host: x86_64-unknown-linux-gnu Target: aarch64-linux-gnu Following ICEs: $ aarch64-linux-gnu-gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/torture/pr82473.c /dev/null -ftrapv -O3 during GIMPLE pass: vect /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/torture/pr82473.c: In function ‘zz’: /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/torture/pr82473.c:5:1: internal compiler error: in vectorize_fold_left_reduction, at tree-vect-loop.c:6224 zz (int x9, short int gt) ^~ 0xe4facc vectorize_fold_left_reduction .././../gcc/tree-vect-loop.c:6223 0xe4facc vectorizable_reduction(gimple*, gimple_stmt_iterator*, gimple**, _slp_tree*, _slp_instance*) .././../gcc/tree-vect-loop.c:7375 0xe42a17 vect_transform_stmt(gimple*, gimple_stmt_iterator*, bool*, _slp_tree*, _slp_instance*) .././../gcc/tree-vect-stmts.c:9521 0xe6ace8 vect_schedule_slp_instance .././../gcc/tree-vect-slp.c:4187 0xe6b474 vect_schedule_slp(vec_info*) .././../gcc/tree-vect-slp.c:4256 0xe51b35 vect_transform_loop(_loop_vec_info*) .././../gcc/tree-vect-loop.c:8881 0xe723f3 vectorize_loops() .././../gcc/tree-vectorizer.c:740