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] |
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.
Attachment:
fixPR25679.diff.txt
Description: ASCII C program text
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |