aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2022-08-31 09:17:43 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2022-08-31 09:17:43 +0100
commit68c61c2daa1f3e4c4c9fbe166f001b7531ffaa4f (patch)
treedc06ea06afa13a186157cb1ffd8ede6e68656890
parenta99b53f7e1860b96b67f069eb7965fcbac6594f6 (diff)
downloadgcc-68c61c2daa1f3e4c4c9fbe166f001b7531ffaa4f.zip
gcc-68c61c2daa1f3e4c4c9fbe166f001b7531ffaa4f.tar.gz
gcc-68c61c2daa1f3e4c4c9fbe166f001b7531ffaa4f.tar.bz2
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.
-rw-r--r--gcc/tree-vect-slp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-vect-slp.cc b/gcc/tree-vect-slp.cc
index ab4c6fa..2265506 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,