http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58721

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> After apllying this fix routine is inlined.

I have applied the following patch

--- ../_clean/gcc/ipa-inline.c    2013-11-22 17:27:28.000000000 +0100
+++ gcc/ipa-inline.c    2013-11-28 21:45:29.000000000 +0100
@@ -762,7 +762,7 @@ check_callers (struct cgraph_node *node,
      {
        if (!can_inline_edge_p (e, true))
          return true;
-       if (!has_hot_call && cgraph_maybe_hot_edge_p (e))
+       if (!(*(bool*)has_hot_call) && cgraph_maybe_hot_edge_p (e))
      *(bool *)has_hot_call = true;
      }
   return false;

on top of revision 205497. However I do not see any improvement.

Reply via email to