diff options
author | Jan Hubicka <jh@suse.cz> | 2010-09-07 23:26:34 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2010-09-07 21:26:34 +0000 |
commit | f27e50db1ab5c90adf4ce77902a4e5783196d7d7 (patch) | |
tree | 9387799cf71631d4729cdd22bf7ff6259166a129 /gcc/tree-inline.c | |
parent | a0766cdbb98bcbfb85f977930d3cead1f02f292a (diff) | |
download | gcc-f27e50db1ab5c90adf4ce77902a4e5783196d7d7.zip gcc-f27e50db1ab5c90adf4ce77902a4e5783196d7d7.tar.gz gcc-f27e50db1ab5c90adf4ce77902a4e5783196d7d7.tar.bz2 |
tree-inline.c (tree_inlinable_function_p): Do not test DECL_REPLACEABLE_P.
* tree-inline.c (tree_inlinable_function_p): Do not test DECL_REPLACEABLE_P.
* ipa-inline.c (cgraph_default_inline_p, update_caller_keys, update_callee_keys,
cgraph_decide_inlining): Test function availability.
* cif-code.def (OVERWRITABLE): New code.
From-SVN: r163972
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 3784bc5..362211a 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -3197,12 +3197,6 @@ tree_inlinable_function_p (tree fn) inlinable = false; } - /* Don't auto-inline anything that might not be bound within - this unit of translation. */ - else if (!DECL_DECLARED_INLINE_P (fn) - && DECL_REPLACEABLE_P (fn)) - inlinable = false; - else if (!function_attribute_inlinable_p (fn)) { if (do_warning) |