gimplify.c (gimplify_body): Revert "Do not initialize RTL profiling" change from...
authorSteven Bosscher <steven@gcc.gnu.org>
Wed, 2 Jun 2010 09:12:50 +0000 (09:12 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Wed, 2 Jun 2010 09:12:50 +0000 (09:12 +0000)
* gimplify.c (gimplify_body): Revert "Do not initialize RTL profiling"
change from yesterday.

From-SVN: r160144

gcc/ChangeLog
gcc/gimplify.c

index 3c15d4f..58d0ace 100644 (file)
@@ -1,5 +1,10 @@
 2010-06-02  Steven Bosscher  <steven@gcc.gnu.org>
 
+       * gimplify.c (gimplify_body): Revert "Do not initialize RTL profiling"
+       change from yesterday.
+
+2010-06-02  Steven Bosscher  <steven@gcc.gnu.org>
+
        * c-ada-spec.c: Clean up redundant includes.
 
 2010-06-01  Steven Bosscher  <steven@gcc.gnu.org>
index fd1f05f..cb4358c 100644 (file)
@@ -7598,6 +7598,10 @@ gimplify_body (tree *body_p, tree fndecl, bool do_parms)
 
   timevar_push (TV_TREE_GIMPLIFY);
 
+  /* Initialize for optimize_insn_for_s{ize,peed}_p possibly called during
+     gimplification.  */
+  default_rtl_profile ();
+
   gcc_assert (gimplify_ctxp == NULL);
   push_gimplify_context (&gctx);