* c-common.h (TDI_inlined): New ast dump phase.
commit2fd956e61b52cef4b0b45a4c3bf7e6f96d72898a
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Jul 2001 12:16:58 +0000 (2 12:16 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Jul 2001 12:16:58 +0000 (2 12:16 +0000)
tree23c0745f9141013fbdd206b748a7c2c6fad106d4
parent40f54c9570c09a1647935e5d3b39fb539addf4b8
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43687 138bc75d-0d04-0410-961f-82ee72b054a4
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