Commit e76b4820 by Nathan Sidwell Committed by Nathan Sidwell

Correct CVS resurrection of invoke.texi.

	* doc/invoke.texi: Document new tree dump flags.

From-SVN: r42902
parent 75c2550a
2001-06-05 Nathan Sidwell <nathan@codesourcery.com>
Correct CVS resurrection of invoke.texi.
* doc/invoke.texi: Document new tree dump flags.
2001-06-05 Joseph S. Myers <jsm28@cam.ac.uk> 2001-06-05 Joseph S. Myers <jsm28@cam.ac.uk>
* c-typeck.c (build_c_cast): Use TYPE_MAIN_VARIANT when checking * c-typeck.c (build_c_cast): Use TYPE_MAIN_VARIANT when checking
......
...@@ -234,8 +234,9 @@ in the following sections. ...@@ -234,8 +234,9 @@ in the following sections.
@xref{Debugging Options,,Options for Debugging Your Program or GCC}. @xref{Debugging Options,,Options for Debugging Your Program or GCC}.
@gccoptlist{ @gccoptlist{
-a -ax -d@var{letters} -dumpspecs -dumpmachine -dumpversion @gol -a -ax -d@var{letters} -dumpspecs -dumpmachine -dumpversion @gol
-fdump-unnumbered -fdump-translation-unit=@var{file} @gol -fdump-unnumbered -fdump-translation-unit@r{[}-@var{n}@r{]} -fdump-class-hierarchy@r{[}-@var{n}@r{]} @gol
-fdump-class-layout=@var{file} -fmem-report -fpretend-float @gol -fdump-ast-original@r{[}-@var{n}@r{]} -fdump-ast-optimized@r{[}-@var{n}@r{]} @gol
-fmem-report -fpretend-float @gol
-fprofile-arcs -ftest-coverage -ftime-report @gol -fprofile-arcs -ftest-coverage -ftime-report @gol
-g -g@var{level} -gcoff -gdwarf -gdwarf-1 -gdwarf-1+ -gdwarf-2 @gol -g -g@var{level} -gcoff -gdwarf -gdwarf-1 -gdwarf-1+ -gdwarf-2 @gol
-ggdb -gstabs -gstabs+ -gxcoff -gxcoff+ @gol -ggdb -gstabs -gstabs+ -gxcoff -gxcoff+ @gol
...@@ -2771,14 +2772,46 @@ numbers and line number note output. This makes it more feasible to ...@@ -2771,14 +2772,46 @@ numbers and line number note output. This makes it more feasible to
use diff on debugging dumps for compiler invocations with different use diff on debugging dumps for compiler invocations with different
options, in particular with and without -g. options, in particular with and without -g.
@item -fdump-translation-unit=@var{file} (C and C++ only) @item -fdump-translation-unit (C and C++ only)
@item -fdump-translation-unit-@var{number} (C and C++ only)
Dump a representation of the tree structure for the entire translation Dump a representation of the tree structure for the entire translation
unit to @var{file}. unit to a file. The file name is made by appending @file{.tu} to the
source file name. If the -@var{number} form is used, @var{number}
controls the details of the dump as described for the -fdump-tree options.
@item -fdump-class-hierarchy (C++ only)
@item -fdump-class-hierarchy-@var{number} (C++ only)
Dump a representation of each class's hierarchy and virtual function
table layout to a file. The file name is made by appending @file{.class}
to the source file name. If the -@var{number} form is used, @var{number}
controls the details of the dump as described for the -fdump-tree
options.
@item -fdump-ast-@var{switch} (C++ only)
@item -fdump-ast-@var{switch}-@var{number} (C++ only)
Control the dumping at various stages of processing the abstract syntax
tree to a file. The file name is generated by appending a switch
specific suffix to the source file name. If the -@var{number} form is
used, @var{number} is a bit mask which controls the details of the
dump. The following bits are meaningful (these are not set symbolically,
as the primary function of these dumps is for debugging gcc itself):
@item -fdump-class_layout=@var{file} (C++ only) @table @samp
@item -fdump-class_layout (C++ only) @item bit0 (1)
Dump a representation of each class's heirarchy to @var{file}, or Print the address of each node. Usually this is not meaningful as it
@code{stderr} if not specified. changes according to the environment and source file.
@item bit1 (2)
Inhibit dumping of members of a scope or body of a function, unless they
are reachable by some other path.
@end table
The following tree dumps are possible:
@table @samp
@item original
Dump before any tree based optimization, to @file{@var{file}.original}.
@item optimized
Dump after all tree based optimization, to @file{@var{file}.optimized}.
@end table
@item -fpretend-float @item -fpretend-float
When running a cross-compiler, pretend that the target machine uses the When running a cross-compiler, pretend that the target machine uses the
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment