From: Richard Biener Date: Wed, 15 Jul 2026 11:20:55 +0000 (+0200) Subject: Improve dump when SLP fails to compute lane extraction insertion points X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ab9d428a577b85cef3832bb92d6d3d0bb07e7ad5;p=thirdparty%2Fgcc.git Improve dump when SLP fails to compute lane extraction insertion points The following helps debugging. * tree-vect-slp.cc (vect_bb_slp_mark_live_stmts): Enhance dumping in the failure case. --- diff --git a/gcc/tree-vect-slp.cc b/gcc/tree-vect-slp.cc index ff11b392305..7abf0faa765 100644 --- a/gcc/tree-vect-slp.cc +++ b/gcc/tree-vect-slp.cc @@ -9082,7 +9082,8 @@ vect_bb_slp_mark_live_stmts (bb_vec_info bb_vinfo, slp_tree node, if (dump_enabled_p ()) dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location, "Cannot determine insertion place for " - "lane extract\n"); + "lane extract of %T at node %p\n", + DEF_FROM_PTR (def_p), (void *)node); can_insert = false; break; }