[tree-ssa]: Make all not include TDF_RAW and TDF_SLIM
Daniel Berlin
dberlin@dberlin.org
Thu Jul 31 00:31:00 GMT 2003
With -fdump-tree-<pass>-all or -fdump-tree-all-all, you'll now not get
functions printed in the old, non-pretty way, but still get all the
suboptions you really want.
IE
Before:
main (argc)
@1 function_decl name: @2 type: @3 scpe: @4
srcp: str1.c:2 args: @5
extern body: @6
@2 identifier_node strg: main lngt: 4
@3 function_type size: @7 algn: 64 retn: @8
;; Function main (main)
main (argc)
{
int pretmp.1;
2003-07-30 Daniel Berlin <dberlin@dberlin.org>
* tree-dump.c (dump_option_value_in): "all" is now everything but
TDF_RAW
and TDF_SLIM.
Index: tree-dump.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-dump.c,v
retrieving revision 1.6.2.34
diff -u -3 -p -r1.6.2.34 tree-dump.c
--- tree-dump.c 27 Jul 2003 18:40:12 -0000 1.6.2.34
+++ tree-dump.c 31 Jul 2003 00:26:04 -0000
@@ -685,7 +685,7 @@ static const struct dump_option_value_in
{"blocks", TDF_BLOCKS},
{"alias", TDF_ALIAS},
{"vops", TDF_VOPS},
- {"all", ~0},
+ {"all", ~(TDF_RAW | TDF_SLIM)},
{NULL, 0}
};
More information about the Gcc-patches
mailing list