This adds another one. Bootstrapped / tested on x86_64-unknown-linux-gnu, pushed.
2020-10-28 Richard Biener <rguent...@suse.de> * tree-vect-slp.c (vect_slp_analyze_node_operations_1): Dump when shared vectype update fails. --- gcc/tree-vect-slp.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/tree-vect-slp.c b/gcc/tree-vect-slp.c index c98f747d4a9..ff3a0c2fd8e 100644 --- a/gcc/tree-vect-slp.c +++ b/gcc/tree-vect-slp.c @@ -3371,7 +3371,13 @@ vect_slp_analyze_node_operations_1 (vec_info *vinfo, slp_tree node, if (is_a <bb_vec_info> (vinfo) && !vect_update_shared_vectype (stmt_info, SLP_TREE_VECTYPE (node))) - return false; + { + if (dump_enabled_p ()) + dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location, + "desired vector type conflicts with earlier one " + "for %G", stmt_info->stmt); + return false; + } bool dummy; return vect_analyze_stmt (vinfo, stmt_info, &dummy, -- 2.26.2