From d4d1ebc191e5c1d00266d9c0207c5dde69f5e216 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Mon, 20 Oct 2003 23:46:55 +0200 Subject: toplev.c (rest_of_compilation): Fix webizer pass ordering. * 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. From-SVN: r72721 --- gcc/opts.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'gcc/opts.c') diff --git a/gcc/opts.c b/gcc/opts.c index 6439e26..dafd371 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -1061,13 +1061,6 @@ common_handle_option (size_t scode, const char *arg, set_param_value ("max-inline-insns-single", value / 2); set_param_value ("max-inline-insns-auto", value / 2); set_param_value ("max-inline-insns-rtl", value); - if (value / 4 < MIN_INLINE_INSNS) - { - if (value / 4 > 10) - set_param_value ("min-inline-insns", value / 4); - else - set_param_value ("min-inline-insns", 10); - } break; case OPT_finstrument_functions: -- cgit v1.1