Correct CVS resurrection of invoke.texi.

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

From-SVN: r42902
This commit is contained in:
Nathan Sidwell 2001-06-05 10:36:31 +00:00 committed by Nathan Sidwell
parent 75c2550ab5
commit e76b482084
3 changed files with 46 additions and 8763 deletions

View File

@ -1,3 +1,8 @@
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>
* c-typeck.c (build_c_cast): Use TYPE_MAIN_VARIANT when checking

View File

@ -234,8 +234,9 @@ in the following sections.
@xref{Debugging Options,,Options for Debugging Your Program or GCC}.
@gccoptlist{
-a -ax -d@var{letters} -dumpspecs -dumpmachine -dumpversion @gol
-fdump-unnumbered -fdump-translation-unit=@var{file} @gol
-fdump-class-layout=@var{file} -fmem-report -fpretend-float @gol
-fdump-unnumbered -fdump-translation-unit@r{[}-@var{n}@r{]} -fdump-class-hierarchy@r{[}-@var{n}@r{]} @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
-g -g@var{level} -gcoff -gdwarf -gdwarf-1 -gdwarf-1+ -gdwarf-2 @gol
-ggdb -gstabs -gstabs+ -gxcoff -gxcoff+ @gol
@ -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
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
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_layout=@var{file} (C++ only)
@item -fdump-class_layout (C++ only)
Dump a representation of each class's heirarchy to @var{file}, or
@code{stderr} if not specified.
@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):
@table @samp
@item bit0 (1)
Print the address of each node. Usually this is not meaningful as it
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
When running a cross-compiler, pretend that the target machine uses the

File diff suppressed because it is too large Load Diff