https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111858
Bug ID: 111858 Summary: [14 Regression] ICE: in vectorizable_simd_clone_call, at tree-vect-stmts.cc:4263 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: admin at levyhsu dot com Target Milestone: --- This bug appears to be caused by a commit r14-4628-g63eaccd114393f (63eaccd114393f4692976bb78b30148e6d77a89e) When compiling spec2017 527.cam4_r with -march=native -Ofast -funroll-loops -flto on Sapphire Rapids or -march=sapphirerapids on other host: radsw.fppized.f90: In function 'raddedmx.isra': radsw.fppized.f90:2017:19: internal compiler error: in vectorizable_simd_clone_call, at tree-vect-stmts.cc:4263 2017 | subroutine raddedmx(coszrs ,ndayc ,abh2o , & | ^ 0x8d3fad vectorizable_simd_clone_call ../../gcc/tree-vect-stmts.cc:4263 0x1e4693e vect_analyze_stmt(vec_info*, _stmt_vec_info*, bool*, _slp_tree*, _slp_instance*, vec<stmt_info_for_cost, va_heap, vl_ptr>*) ../../gcc/tree-vect-stmts.cc:12672 0x116255c vect_analyze_loop_operations ../../gcc/tree-vect-loop.cc:2087 0x116255c vect_analyze_loop_2 ../../gcc/tree-vect-loop.cc:2903 0x1162ecf vect_analyze_loop_1 ../../gcc/tree-vect-loop.cc:3339 0x11635d3 vect_analyze_loop(loop*, vec_info_shared*) ../../gcc/tree-vect-loop.cc:3493 0x11a1981 try_vectorize_loop_1 ../../gcc/tree-vectorizer.cc:1064 0x11a1981 try_vectorize_loop ../../gcc/tree-vectorizer.cc:1180 0x11a21e4 execute ../../gcc/tree-vectorizer.cc:1296 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. lto-wrapper: fatal error: gfortran returned 1 exit status compilation terminated. Which matches the changes in vectorizable_simd_clone_call.