This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ipa/64801] [5 Regression] kernel build failure due to ICF


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]