]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* 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 b9fc168cd19041a39cbca96b0efb611725996a32..e7acc583bdc5851c4de1b815b7c245dcbb245b0c 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 da83c4014e42721a0c4c770641a46df3e09be435..f022e3770e5dae2a5700633937151e80a974e7bb 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;