* ipa-inline.c (early_inliner): Update node's inline info.
authorDehao Chen <dehao@google.com>
Thu, 27 Mar 2014 01:01:07 +0000 (01:01 +0000)
committerDehao Chen <dehao@gcc.gnu.org>
Thu, 27 Mar 2014 01:01:07 +0000 (01:01 +0000)
From-SVN: r208861

gcc/ChangeLog
gcc/ipa-inline.c

index b9fc168..e7acc58 100644 (file)
@@ -1,3 +1,7 @@
+2014-03-27  Dehao Chen  <dehao@google.com>
+
+       * ipa-inline.c (early_inliner): Update node's inline info.
+
 2014-03-26  Dehao Chen  <dehao@google.com>
 
        * dojump.c (do_compare_rtx_and_jump): Sets correct probability for
index da83c40..f022e37 100644 (file)
@@ -2318,6 +2318,8 @@ early_inliner (void)
                      edge->call_stmt, edge->callee->decl, false))
                edge->call_stmt_cannot_inline_p = true;
            }
+         if (iterations < PARAM_VALUE (PARAM_EARLY_INLINER_MAX_ITERATIONS) - 1)
+           inline_update_overall_summary (node);
          timevar_pop (TV_INTEGRATION);
          iterations++;
          inlined = false;