https://gcc.gnu.org/g:fc1f7177eafe5a3cf59560b8b8655e150fc3a578

commit r15-7244-gfc1f7177eafe5a3cf59560b8b8655e150fc3a578
Author: Richard Sandiford <richard.sandif...@arm.com>
Date:   Tue Jan 28 09:00:08 2025 +0000

    vect: Remove extra newline from dump message
    
    Noticed while working PR117270, where it was a distracting
    difference for before-after comparisons.
    
    gcc/
            * tree-vect-slp.cc (vectorizable_slp_permutation_1): Remove
            extra newline from dump message.

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 5d9a206f8f58..115b7b73eeef 100644
--- a/gcc/tree-vect-slp.cc
+++ b/gcc/tree-vect-slp.cc
@@ -10846,7 +10846,7 @@ vectorizable_slp_permutation_1 (vec_info *vinfo, 
gimple_stmt_iterator *gsi,
       for (unsigned i = 0; i < perm.length (); ++i)
        dump_printf (MSG_NOTE, " op%u[%u]", perm[i].first, perm[i].second);
       if (repeating_p)
-       dump_printf (MSG_NOTE, " (repeat %d)\n", SLP_TREE_LANES (node));
+       dump_printf (MSG_NOTE, " (repeat %d)", SLP_TREE_LANES (node));
       dump_printf (MSG_NOTE, "\n");
       dump_printf_loc (MSG_NOTE, vect_location, "as");
       for (unsigned i = 0; i < vperm.length (); ++i)

Reply via email to