]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR middle-end/37338 (gcc.dg/array-init-1.c)
authorJakub Jelinek <jakub@redhat.com>
Wed, 10 Sep 2008 21:08:17 +0000 (23:08 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 10 Sep 2008 21:08:17 +0000 (23:08 +0200)
PR middle-end/37338
* gimplify.c (gimplify_body): Call default_rtl_profile.

From-SVN: r140249

gcc/ChangeLog
gcc/gimplify.c

index 48e59e6b4e6f5b8dd85474d876bcd38c57208d26..df391f20e691277a72df66516f463d078ae6f5ad 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 55c5fb258891a0ac1dd1cdfe8e2a733d811e1b6c..dd8c3a3fa062fa4e385e3d489f9763995ed3c754 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);