I'm not sure why this didn't pop up on the earlier bootstrap. Anyway, fixed thusly.

I made the prefix for dumping a binding-vector slightly too small.
Fixed thusly.

        gcc/cp/
        * ptree.c (cxx_print_xnode): Increase binding-vector prefix size.

--
Nathan Sidwell
diff --git i/gcc/cp/ptree.c w/gcc/cp/ptree.c
index 1ee107f23cc..f8d22082ba7 100644
--- i/gcc/cp/ptree.c
+++ w/gcc/cp/ptree.c
@@ -259,15 +259,15 @@ cxx_print_xnode (FILE *file, tree node, int indent)
 	for (unsigned ix = 0; ix != len; ix++)
 	  {
 	    binding_cluster *cluster = &BINDING_VECTOR_CLUSTER (node, ix);
-	    char pfx[20];
+	    char pfx[24];
 	    for (unsigned jx = 0; jx != BINDING_VECTOR_SLOTS_PER_CLUSTER; jx++)
 	      if (cluster->indices[jx].span)
 		{
 		  int len = sprintf (pfx, "module:%u",
 				     cluster->indices[jx].base);
 		  if (cluster->indices[jx].span > 1)
-		    len
-		      += sprintf (&pfx[len], "(+%u)", cluster->indices[jx].span);
+		    len += sprintf (&pfx[len], "(+%u)",
+				    cluster->indices[jx].span);
 		  len += sprintf (&pfx[len], " cluster:%u/%u", ix, jx);
 		  binding_slot &slot = cluster->slots[jx];
 		  if (slot.is_lazy ())

Reply via email to