This is the mail archive of the gcc@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: how to dump tree in pt.c:tsubst?


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



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