From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1130) id 34A7E3851A9A; Wed, 31 Aug 2022 08:17:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 34A7E3851A9A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1661933877; bh=yXYYJbM1iEsCiW3mVzrfgk0wgh80GJw8gKZKYpXzygs=; h=From:To:Subject:Date:From; b=nOyYHWteMyoh7KKeLyjpVPdhnOx2T+2t2iVaHcJk0h/JQ3HbOKQckGm/5KuYkWb1/ 90heNIuF6iJ8B8lI4ilAaKhLtqr0w1A5zTG9oLENVYj/Z7PZKy4xcuWbZOjE5ceDHK ZFXkpFQYpvjGFDhFqRgrnDwIQ4gtOESPGAlHUBY4= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Richard Sandiford To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-2299] vect: Fix stray argument in call to dump_printf_loc X-Act-Checkin: gcc X-Git-Author: Richard Sandiford X-Git-Refname: refs/heads/trunk X-Git-Oldrev: a99b53f7e1860b96b67f069eb7965fcbac6594f6 X-Git-Newrev: 68c61c2daa1f3e4c4c9fbe166f001b7531ffaa4f Message-Id: <20220831081757.34A7E3851A9A@sourceware.org> Date: Wed, 31 Aug 2022 08:17:57 +0000 (GMT) List-Id: https://gcc.gnu.org/g:68c61c2daa1f3e4c4c9fbe166f001b7531ffaa4f commit r13-2299-g68c61c2daa1f3e4c4c9fbe166f001b7531ffaa4f Author: Richard Sandiford Date: Wed Aug 31 09:17:43 2022 +0100 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: --- 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,