https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117720
Bug ID: 117720 Summary: [15 regression] ICE compiling gcc.target/powerpc/pr110776.c after r15-5523-g2383ed144b54be Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:2383ed144b54be6bae5ba5aec8859c6c2e215daf, r15-5523-g2383ed144b54be make -k check-gcc RUNTESTFLAGS="powerpc.exp=gcc.target/powerpc/pr110776.c" FAIL: gcc.target/powerpc/pr110776.c (internal compiler error: in rs6000_builtin_vectorization_cost, at config/rs6000/rs6000.cc:5064) FAIL: gcc.target/powerpc/pr110776.c (test for excess errors) spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test/gcc/ -fdiagnostics-plain-output -Wno-complain-wrong-lang -c -o powerpc_altivec1647742.o powerpc_altivec1647742.c Executing on host: /home/seurer/gcc/git/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test/gcc/ /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.target/powerpc/pr110776.c -fdiagnostics-plain-output -O2 -mdejagnu-cpu=power6 -maltivec -S -o pr110776.s (timeout = 300) spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test/gcc/ /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.target/powerpc/pr110776.c -fdiagnostics-plain-output -O2 -mdejagnu-cpu=power6 -maltivec -S -o pr110776.s during GIMPLE pass: vect /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.target/powerpc/pr110776.c: In function 'c': /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.target/powerpc/pr110776.c:9:1: internal compiler error: in rs6000_builtin_vectorization_cost, at config/rs6000/rs6000.cc:5064 0x122ad5ff internal_error(char const*, ...) /home/seurer/gcc/git/gcc-test/gcc/diagnostic-global-context.cc:518 0x102d7ce7 fancy_abort(char const*, int, char const*) /home/seurer/gcc/git/gcc-test/gcc/diagnostic.cc:1697 0x112fe623 rs6000_builtin_vectorization_cost /home/seurer/gcc/git/gcc-test/gcc/config/rs6000/rs6000.cc:5064 0x11109167 builtin_vectorization_cost(vect_cost_for_stmt, tree_node*, int) /home/seurer/gcc/git/gcc-test/gcc/tree-vectorizer.h:1905 0x11109167 record_stmt_cost /home/seurer/gcc/git/gcc-test/gcc/tree-vect-stmts.cc:115 0x1110d28b record_stmt_cost(vec<stmt_info_for_cost, va_heap, vl_ptr>*, int, vect_cost_for_stmt, _stmt_vec_info*, tree_node*, int, vect_cost_model_location) /home/seurer/gcc/git/gcc-test/gcc/tree-vect-stmts.cc:124 0x1110d28b record_stmt_cost(vec<stmt_info_for_cost, va_heap, vl_ptr>*, int, vect_cost_for_stmt, _stmt_vec_info*, int, vect_cost_model_location) /home/seurer/gcc/git/gcc-test/gcc/tree-vectorizer.h:2365 0x1110d28b vect_get_load_cost(vec_info*, _stmt_vec_info*, int, dr_alignment_support, int, bool, unsigned int*, unsigned int*, vec<stmt_info_for_cost, va_heap, vl_ptr>*, vec<stmt_info_for_cost, va_heap, vl_ptr>*, bool) /home/seurer/gcc/git/gcc-test/gcc/tree-vect-stmts.cc:1086 0x1113607f vectorizable_load /home/seurer/gcc/git/gcc-test/gcc/tree-vect-stmts.cc:10807 0x11144bfb vect_analyze_stmt(vec_info*, _stmt_vec_info*, bool*, _slp_tree*, _slp_instance*, vec<stmt_info_for_cost, va_heap, vl_ptr>*) /home/seurer/gcc/git/gcc-test/gcc/tree-vect-stmts.cc:13778 0x111b56d7 vect_slp_analyze_node_operations_1 /home/seurer/gcc/git/gcc-test/gcc/tree-vect-slp.cc:7764 0x111b56d7 vect_slp_analyze_node_operations /home/seurer/gcc/git/gcc-test/gcc/tree-vect-slp.cc:7969 0x111b57a3 vect_slp_analyze_node_operations /home/seurer/gcc/git/gcc-test/gcc/tree-vect-slp.cc:7946 0x111b57a3 vect_slp_analyze_node_operations /home/seurer/gcc/git/gcc-test/gcc/tree-vect-slp.cc:7946 0x111b57a3 vect_slp_analyze_node_operations /home/seurer/gcc/git/gcc-test/gcc/tree-vect-slp.cc:7946 0x111b7c47 vect_slp_analyze_operations(vec_info*) /home/seurer/gcc/git/gcc-test/gcc/tree-vect-slp.cc:8376 0x111747ff vect_analyze_loop_2 /home/seurer/gcc/git/gcc-test/gcc/tree-vect-loop.cc:2993 0x11176a8f vect_analyze_loop_1 /home/seurer/gcc/git/gcc-test/gcc/tree-vect-loop.cc:3482 0x111773bf vect_analyze_loop(loop*, gimple*, vec_info_shared*) /home/seurer/gcc/git/gcc-test/gcc/tree-vect-loop.cc:3642 0x111d6fd3 try_vectorize_loop_1 /home/seurer/gcc/git/gcc-test/gcc/tree-vectorizer.cc:1072 commit 2383ed144b54be6bae5ba5aec8859c6c2e215daf (HEAD) Author: Richard Biener <rguent...@suse.de> Date: Wed Nov 20 13:32:48 2024 +0100 tree-optimization/117698 - SLP vectorization and alignment