Commit aa10adff by Richard Kenner

(expand_call): Only inline if DECL_INLINE; don't call

function_cannot_inline_p here.

From-SVN: r8681
parent b8471b65
...@@ -599,8 +599,8 @@ expand_call (exp, target, ignore) ...@@ -599,8 +599,8 @@ expand_call (exp, target, ignore)
{ {
if (!flag_no_inline if (!flag_no_inline
&& fndecl != current_function_decl && fndecl != current_function_decl
&& DECL_SAVED_INSNS (fndecl) && DECL_INLINE (fndecl)
&& ! function_cannot_inline_p (fndecl)) && DECL_SAVED_INSNS (fndecl))
is_integrable = 1; is_integrable = 1;
else if (! TREE_ADDRESSABLE (fndecl)) else if (! TREE_ADDRESSABLE (fndecl))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment