summaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1994-11-28 22:40:37 -0700
committerJeff Law <law@gcc.gnu.org>1994-11-28 22:40:37 -0700
commit694b6b6ddb125e4a56b57cac4d1bffb00675d948 (patch)
tree2fc084b48006630f93c6ce721aa293fc5498089e /gcc/calls.c
parent56031823208468f061281130a7e67d6ccf1b5fd2 (diff)
downloadgcc-694b6b6ddb125e4a56b57cac4d1bffb00675d948.tar.gz
calls.c (expand_call): Do not set is_integrable if the function is not inlineable according to...
* calls.c (expand_call): Do not set is_integrable if the function is not inlineable according to function_cannot_inline_p. From-SVN: r8572
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index b168e85c3eb..6950546650d 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -599,7 +599,8 @@ expand_call (exp, target, ignore)
{
if (!flag_no_inline
&& fndecl != current_function_decl
- && DECL_SAVED_INSNS (fndecl))
+ && DECL_SAVED_INSNS (fndecl)
+ && ! function_cannot_inline_p (fndecl))
is_integrable = 1;
else if (! TREE_ADDRESSABLE (fndecl))
{