From: Richard Sandiford Date: Wed, 31 Aug 2022 08:17:43 +0000 (+0100) Subject: vect: Fix stray argument in call to dump_printf_loc X-Git-Tag: basepoints/gcc-14~4908 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=68c61c2daa1f3e4c4c9fbe166f001b7531ffaa4f;p=thirdparty%2Fgcc.git vect: Fix stray argument in call to dump_printf_loc One call to dump_printf_loc had a stray left-over argument from an earlier version of the patch. This went unnoticed on aarch64-linux-gnu and x86_64-linux-gnu since the parameters that actually mattered were passed in FPRs rather than GPRs, but I assume this is the reason for the i686-linux-gnu failures that Jakub hit. gcc/ * tree-vect-slp.cc (vect_optimize_slp_pass::dump): Remove bogus argument. --- diff --git a/gcc/tree-vect-slp.cc b/gcc/tree-vect-slp.cc index ab4c6fa67760..226550635cc3 100644 --- a/gcc/tree-vect-slp.cc +++ b/gcc/tree-vect-slp.cc @@ -5461,7 +5461,7 @@ vect_optimize_slp_pass::dump () combined_cost.add_serial_cost (layout_costs.out_cost); #define TEMPLATE "{depth: %f, total: %f}" dump_printf_loc (MSG_NOTE, vect_location, - " " TEMPLATE "\n", layout_i, + " " TEMPLATE "\n", layout_costs.in_cost.depth.to_double (), layout_costs.in_cost.total.to_double ()); dump_printf_loc (MSG_NOTE, vect_location,