calls.c (expand_call): Do not set is_integrable if the function is not inlineable...
authorJeff Law <law@gcc.gnu.org>
Tue, 29 Nov 1994 05:40:37 +0000 (22:40 -0700)
committerJeff Law <law@gcc.gnu.org>
Tue, 29 Nov 1994 05:40:37 +0000 (22:40 -0700)
* 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

index b168e85c3eb5972a288d319d9aa62d17cb4a9fee..6950546650ddacc0c5f4a91739f0da9f2b31b629 100644 (file)
@@ -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))
            {