This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Yet another tree dumper


On Friday, October 10, 2003, at 11:17 AM, Jason Merrill wrote:
On Fri, 10 Oct 2003 09:43:11 -0700, Dale Johannesen <dalej@apple.com> wrote:
On Thursday, October 9, 2003, at 07:57 PM, Jason Merrill wrote:


This doesn't seem like a significant enough improvement to justify
duplicating so much code.

As an experienced user of both dumpers, I find the second one is FAR superior.

Why? The example Devang gave looks just as messy as the current dumper,
and doesn't have the <> brackets to mark boundaries.

Why. OK, I'm not that good at "why", but here's some things that stand out:
Less type information, unless you ask for it (this is generally useless to me)
Indentation works better, so you can follow the structure better
debug_tree often stops too soon, before it's gotten to what I'm interested in


This sort of thing comes down to personal preference; I'm not suggesting eliminating
the old one, if there are those who prefer it. Presumably Gaby wasn't happy with
it, though...


Also, have you tried the pretty-printer on the tree-ssa branch?

No. We should look at that. (It does work on non-ssa form? Won't help otherwise.)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]