This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
how to dump tree in pt.c:tsubst?
- From: Larry Evans <cppljevans at cox-internet dot com>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 11 Feb 2007 09:18:33 -0600
- Subject: how to dump tree in pt.c:tsubst?
How does one dump the trees in pt.c:tsubst in some hunan readable
format. I've tried:
struct dump_info di;
di.stream=stderr;
cp_dump_tree(&di, args);
cp_dump_tree(&di, arg);
cp_dump_tree(&di, t);
however, no ouput is produced because the TREE_CODE for each of
the 2nd args doesn't match anything in the switch statements
inside cp_dump_tree (defined in cp/dump.c).
TIA.