This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: -dT option to dump trees (patch addendum)
Quoth Joseph S. Myers on Friday, 27 April:
: On Fri, 27 Apr 2001, Tony Kimball wrote:
:
: > cvs -z3 -q diff -u flags.h diagnostic.c function.c stmt.c toplev.c varasm.c
:
: This patch is missing an appropriate change to the documentation in
: invoke.texi.
And perhaps a ChangeLog entry as well?
* invoke.texi: Document -dT option.
* flags.h b(flag_dump_trees): Add global flag variable for -dT
option.
* diagnostic.c (announce_function): Dump trees with -dT option.
* function.c (init_function_start, expand_function_start,
expand_function_end): Dump trees with -dT option.
* stmt.c (expand_start_bindings_and_block,
expand_end_bindings, expand_decl_init,
expand_decl_cleanup): Dump trees with -dT option.
* toplev.c (rest_of_compilation, decode_d_option):
Dump trees with -dT option.
* varasm.c (make_decl_rtl): Dump trees with -dT option.
cvs -z3 diff -u invoke.texi
Index: invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/invoke.texi,v
retrieving revision 1.273.2.13
diff -u -r1.273.2.13 invoke.texi
--- invoke.texi 2001/04/25 22:41:19 1.273.2.13
+++ invoke.texi 2001/04/27 16:20:54
@@ -2648,6 +2648,9 @@
@item t
Dump after the second CSE pass (including the jump optimization that
sometimes follows CSE), to @file{@var{file}.10.cse2}.
+@item T
+Dump ASTs to stderr before conversion to RTL. This is most
+useful in conjunction with @samp{-dy}.
@item w
Dump after the second flow pass, to @file{@var{file}.21.flow2}.
@item X