public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [pushed] vect: Fix stray argument in call to dump_printf_loc
@ 2022-08-31  8:20 Richard Sandiford
  0 siblings, 0 replies; only message in thread
From: Richard Sandiford @ 2022-08-31  8:20 UTC (permalink / raw)
  To: gcc-patches; +Cc: jakub

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.

Tested on x86_64-linux-gnu & pushed as obvious.  Sorry for the breakage.

Richard


gcc/
	* tree-vect-slp.cc (vect_optimize_slp_pass::dump): Remove bogus
	argument.
---
 gcc/tree-vect-slp.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/tree-vect-slp.cc b/gcc/tree-vect-slp.cc
index ab4c6fa6776..226550635cc 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,
-- 
2.25.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-31  8:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-31  8:20 [pushed] vect: Fix stray argument in call to dump_printf_loc Richard Sandiford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).