Re: [PATCH] Make debug_tree() print the length of a TREE_VEC

2015-06-25 Thread Jeff Law
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. 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 debuggin

[PATCH] Make debug_tree() print the length of a TREE_VEC

2015-06-25 Thread Patrick Palka
When printing a TREE_VEC, this patch makes its length get printed alongside its prefix, e.g. 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 t