* toplev.c (rest_of_compilation): Fix webizer pass ordering.
commit19489abdae422545cf21f5234f199cd9a7e664e5
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Oct 2003 21:46:55 +0000 (20 21:46 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Oct 2003 21:46:55 +0000 (20 21:46 +0000)
treee0577f027de65a595f0d08d2ce877c7af9b5a347
parent3d5169501bf610950df202639beab10d89aed1f9
* toplev.c (rest_of_compilation): Fix webizer pass ordering.

* cgraphunit.c (decide_is_function_needed):  Fix test dealing
with functions implicitly made inline.

* cgraphunit.c (cgraph_decide_inlining_incrementally):  New function.
(cgraph_finalize_function): Use it.
(cgraph_mark_inline): Allow incrmental decisions
* invoke.texi (max-inline-slope, min-inline-insns): Kill.
* params.def (PARAM_MAX_INLINE_SLOPE, PARAM_MIN_INLINE_INSNS): Kill.
* tree-inline.c (limits_allow_inlining): Kill.
(expand_call_inline): Always use unit-at-a-time path.

* decl.c (start_cleanup_fn):  Set DECL_DECLARED_INLINE_P to deffer
the expansion.

* testsuite/g++.dg/opt/inline4.C: Do not use min-inline-insns
parameter.
* testsuite/gcc.dg/inline-2.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72721 138bc75d-0d04-0410-961f-82ee72b054a4
15 files changed:
gcc/ChangeLog
gcc/cgraphunit.c
gcc/config/i386/i386.md
gcc/coverage.h
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/doc/invoke.texi
gcc/flags.h
gcc/opts.c
gcc/params.def
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/inline4.C
gcc/testsuite/gcc.dg/inline-2.c
gcc/toplev.c
gcc/tree-inline.c