https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64801

--- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
OK, we do not inline it because creae_wrapper decides so:
Index: cgraphunit.c
===================================================================
--- cgraphunit.c        (revision 220229)
+++ cgraphunit.c        (working copy)
@@ -2427,7 +2427,6 @@ cgraph_node::create_wrapper (cgraph_node
     }

   expand_thunk (false, true);
-  e->call_stmt_cannot_inline_p = true;

   /* Inline summary set-up.  */
   analyze ();

Martin, perhaps this is leftover of some debugging? We ought to give inliner
freedom to re-duplicate the unified function body when it seems profitable
(like here)

Reply via email to