diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-11-29 05:40:37 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-11-29 05:40:37 +0000 |
commit | 0c660bac94fabe0ca477cfffa88f67178b625260 (patch) | |
tree | 2fc084b48006630f93c6ce721aa293fc5498089e /gcc/calls.c | |
parent | 8b5eb22c19d39be2727020ee1f4e7b61f28764fc (diff) | |
download | gcc-0c660bac94fabe0ca477cfffa88f67178b625260.tar.gz |
* calls.c (expand_call): Do not set is_integrable if the
function is not inlineable according to function_cannot_inline_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8572 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/calls.c')
-rw-r--r-- | gcc/calls.c | 3 |
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)) { |