Installing as obvious.

Before:

(gdb) p debug_tree(m_index_expr)
 <poly_int_cst 0x7ffff746b140
    type <integer_type 0x7ffff75ec7e0 long unsigned int public unsigned DI
        size <integer_cst 0x7ffff75d3f30 constant 64>
        unit-size <integer_cst 0x7ffff75d3f48 constant 8>
        align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7ffff75ec7e0 
precision:64 min <integer_cst 0x7ffff75ee210 0> max <integer_cst 0x7ffff75d4680 
18446744073709551615>
        pointer_to_this <pointer_type 0x7ffff75fe000>>
    constant
    elt0:  <integer_cst 0x7ffff6ec8720 type <integer_type 0x7ffff75ec7e0 long unsigned int> 
constant 2> elt1:  <integer_cst 0x7ffff6ec8720 2>>

After:

(gdb) p debug_tree(m_index_expr )
 <poly_int_cst 0x7ffff746b140
    type <integer_type 0x7ffff75ec7e0 long unsigned int public unsigned DI
        size <integer_cst 0x7ffff75d3f30 constant 64>
        unit-size <integer_cst 0x7ffff75d3f48 constant 8>
        align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7ffff75ec7e0 
precision:64 min <integer_cst 0x7ffff75ee210 0> max <integer_cst 0x7ffff75d4680 
18446744073709551615>
        pointer_to_this <pointer_type 0x7ffff75fe000>>
    constant
    elt0: <integer_cst 0x7ffff6ec8720 type <integer_type 0x7ffff75ec7e0 long unsigned int> 
constant 2> elt1: <integer_cst 0x7ffff6ec8720 2>>

Thanks,
Martin

gcc/ChangeLog:

        * print-tree.c (print_node): Remove extra space.
---
 gcc/print-tree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index 2a9c98ea7a0..d1150e472d5 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -851,7 +851,7 @@ print_node (FILE *file, const char *prefix, tree node, int 
indent,
            char buf[10];
            for (unsigned int i = 0; i < NUM_POLY_INT_COEFFS; ++i)
              {
-               snprintf (buf, sizeof (buf), "elt%u: ", i);
+               snprintf (buf, sizeof (buf), "elt%u:", i);
                print_node (file, buf, POLY_INT_CST_COEFF (node, i),
                            indent + 4);
              }
--
2.28.0

Reply via email to