This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: how to dump tree in pt.c:tsubst?
- From: Jim Wilson <wilson at specifix dot com>
- To: Larry Evans <cppljevans at cox-internet dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 12 Feb 2007 13:11:22 -0800
- Subject: Re: how to dump tree in pt.c:tsubst?
- References: <eqnc8f$omn$1@sea.gmane.org>
Larry Evans wrote:
How does one dump the trees in pt.c:tsubst in some hunan readable
cp_dump_tree(&di, args);
cp_dump_tree is a hook for printing C++ specific trees. Try dump_node
in tree-dump.c instead. Or one of the other functions in this file.
I'm not sure if you can call dump_node directly.
There are also functions in print-tree.c which produce a different style
of output. The entry point here is debug_tree.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com