On 06/25/2015 10:22 AM, Patrick Palka wrote:
When printing a TREE_VEC, this patch makes its length get printed alongside its prefix, e.g.<tree_vec 0x7ffff6a4d0a0 length 2 elt 0 ....> Without a reference to its length, an all-NULL TREE_VEC otherwise looks like an empty TREE_VEC, since NULL elts don't get printed. This makes debugging such TREE_VECs pretty confusing. Is this OK to commit? gcc/ChangeLog: * print-tree.c (print_node) [TREE_VEC]: Print its length.
OK after the usual bootstrap & regression test. jeff
