OSDN Git Service

PR middle-end/37338
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Sep 2008 21:08:17 +0000 (21:08 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Sep 2008 21:08:17 +0000 (21:08 +0000)
* gimplify.c (gimplify_body): Call default_rtl_profile.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140249 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gimplify.c

index 48e59e6..df391f2 100644 (file)
@@ -1,5 +1,8 @@
 2008-09-10  Jakub Jelinek  <jakub@redhat.com>
 
+       PR middle-end/37338
+       * gimplify.c (gimplify_body): Call default_rtl_profile.
+
        PR target/36904
        * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): Return NULL
        instead of tok->val.node if not expanding to something else.  Handle
index 55c5fb2..dd8c3a3 100644 (file)
@@ -7213,6 +7213,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);