[tree-ssa] Gimplifying Java

Steven Bosscher s.bosscher@student.tudelft.nl
Thu Jun 12 06:44:00 GMT 2003


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





More information about the Gcc-patches mailing list