c-common.h (TDI_inlined): New ast dump phase.
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 2 Jul 2001 12:16:58 +0000 (12:16 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 2 Jul 2001 12:16:58 +0000 (12:16 +0000)
commit6be777481ea7fa281c38dc84a76674e80013603b
tree23c0745f9141013fbdd206b748a7c2c6fad106d4
parent3aa12a583f98074d6eaca377d9f3842df7c387ed
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
gcc/ChangeLog
gcc/c-common.h
gcc/c-dump.c
gcc/cp/ChangeLog
gcc/cp/optimize.c
gcc/cp/semantics.c
gcc/doc/invoke.texi