[Committed] Fix -fdump-tree-all-all to be a little more useful
Andrew Pinski
pinskia@physics.uc.edu
Mon Feb 20 17:46:00 GMT 2006
The problem here is that -all turns on all the TDF* codes which means that TDF_CHAIN
was being turned on. Turning on TDF_CHAIN caused all the decl's TREE_CHAIN's to be
walk so the information outputted was useless. Anyways this patch fixes the problem
by changing debug_tree_chain to walk the tree chain instead of dump_decl_name walking
the decl's tree chain. I was going to change the name of debug_tree_chain to
debug_decl_chain but was asked by Diego not to.
I Committed this patch after an ok offline by Diego a while back and recent
bootstrap on x86_64-linux-gnu with no regressions.
Thanks,
Andrew Pinski
ChangeLog:
* tree-pretty-print.c (debug_tree_chain): Walk the chains.
(dump_decl_name): Do not walk the decl tree chains.
* tree-pass.h (TDF_CHAIN): Remove.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fixPR25679.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060220/4458d0c5/attachment.txt>
More information about the Gcc-patches
mailing list