aboutsummaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-10-20 23:46:55 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2003-10-20 21:46:55 +0000
commitd4d1ebc191e5c1d00266d9c0207c5dde69f5e216 (patch)
treee0577f027de65a595f0d08d2ce877c7af9b5a347 /gcc/flags.h
parentce01559bb70b9d2af4bb3e91866167440c5a66f8 (diff)
downloadgcc-d4d1ebc191e5c1d00266d9c0207c5dde69f5e216.zip
gcc-d4d1ebc191e5c1d00266d9c0207c5dde69f5e216.tar.gz
gcc-d4d1ebc191e5c1d00266d9c0207c5dde69f5e216.tar.bz2
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
Diffstat (limited to 'gcc/flags.h')
-rw-r--r--gcc/flags.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/flags.h b/gcc/flags.h
index 5b6f728..c2b2fad 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -719,6 +719,10 @@ extern int flag_unit_at_a_time;
extern int flag_web;
+/* Nonzero means that we defer emitting functions until they are actually
+ used. */
+extern int flag_remove_unreachable_functions;
+
/* A string that's used when a random name is required. NULL means
to make it really random. */