This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa] Gimplifying Java


Jeff Sturm wrote:
+    {
+      /* Simplify and run optimizers.  */
+      simplify_function_tree (fndecl);
+      dump_function (TDI_simple, fndecl);
+      if (optimize > 0 && !flag_disable_tree_ssa)
+	optimize_function_tree (fndecl);
+
+      if (flag_inline_trees)
+	{
+	  timevar_push (TV_INTEGRATION);
+	  optimize_inline_calls (fndecl);
+	  timevar_pop (TV_INTEGRATION);
+	  dump_function (TDI_inlined, fndecl);
+	}

Why are you inlining _after_ tree-optimizing? C/C++ do that before calling optimize_function_tree.

Gr.
Steven




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]