From 694b6b6ddb125e4a56b57cac4d1bffb00675d948 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 28 Nov 1994 22:40:37 -0700 Subject: [PATCH] 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 --- gcc/calls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) { -- 2.30.2