diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2001-07-02 12:16:58 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2001-07-02 12:16:58 +0000 |
commit | 6be777481ea7fa281c38dc84a76674e80013603b (patch) | |
tree | 23c0745f9141013fbdd206b748a7c2c6fad106d4 /gcc/doc | |
parent | 3aa12a583f98074d6eaca377d9f3842df7c387ed (diff) | |
download | gcc-6be777481ea7fa281c38dc84a76674e80013603b.zip gcc-6be777481ea7fa281c38dc84a76674e80013603b.tar.gz gcc-6be777481ea7fa281c38dc84a76674e80013603b.tar.bz2 |
c-common.h (TDI_inlined): New ast dump phase.
* c-common.h (TDI_inlined): New ast dump phase.
(dump_flag_name): New function.
* c-dump.c (dump_files): Add inlined phase.
(dump_flag_name): Define.
* doc/invoke.texi (-fdump-ast-inlined): Document.
cp:
* optimize.c (optimize_inline_calls): New function, broken out
of ...
(optimize_function): ... here. Call it. Don't inline if it is
a thunk.
(dump_function): Print name of dump flag causing this dump.
* semantics.c (expand_body): Move thunk inline check to
optimize_function.
From-SVN: r43687
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 37645eb..359dcbc 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -239,6 +239,7 @@ in the following sections. -a -ax -d@var{letters} -dumpspecs -dumpmachine -dumpversion @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 +-fdump-ast-inlined@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 @@ -3029,6 +3030,9 @@ The following tree dumps are possible: Dump before any tree based optimization, to @file{@var{file}.original}. @item optimized Dump after all tree based optimization, to @file{@var{file}.optimized}. +@item inlined +Dump after inlining within the body of the function, to +@file{@var{file}.inlined}. @end table @item -fpretend-float @@ -3867,8 +3871,8 @@ the directories you have specified with @option{-I} options (and the current directory, if appropriate) are searched. @xref{Directory Options}, for information on @option{-I}. -By using both @option{-nostdinc} and @option{-I-}, you can limit the include-file -search path to only those directories you specify explicitly. +By using both @option{-nostdinc} and @option{-I-}, you can limit the +include-file search path to only those directories you specify explicitly. @item -remap @opindex remap @@ -4352,6 +4356,10 @@ system header files (use @option{-isystem} for that). If you use more than one @option{-I} option, the directories are scanned in left-to-right order; the standard system directories come after. +GCC will detect and warn you, if a directory is specified with both the +@option{-I} and also is a system search directory (either by default, or +with @option{-isystem}). + @item -I- @opindex I- Any directories you specify with @option{-I} options before the @option{-I-} |