This is the mail archive of the gcc@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]

[tree-ssa]: Detecting low-GIMPLE (was Re: [tree-ssa] Illegibledumps with dump_cfg_function_to_file)


On Sat, 2003-11-08 at 11:56, Zdenek Dvorak wrote:

> +   /* When gimple is lowered, the variables are no longer available in the
> +      bind_exprs, so display them separately.  */
> +   if (cfun->unexpanded_var_list)
> +     {
> +       if (TREE_CODE (DECL_SAVED_TREE (fn)) == BIND_EXPR
> + 	  && BIND_EXPR_VARS (DECL_SAVED_TREE (fn)))
> + 	abort ();
> + 
This abort will trigger if EH lowering adds new temporaries.  We either
need to run EH lowering after BIND_EXPR lowering, or we need to have a
better method of detecting when we are in low-GIMPLE form.

Jason, Richard, any thoughts on how to properly detect whether the
function is in low-GIMPLE form?


Diego.


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