[tree-ssa] Lowering of VLA's, part 2

Zdenek Dvorak rakdver@atrey.karlin.mff.cuni.cz
Wed Aug 27 19:00:00 GMT 2003


Hello,

> >> > 	* gimplify.c (struct tree_p_list): New type.
> >> > 	(join_tree_p_list, add_tree_p_list, free_tree_p_list,
> >> > 	build_stack_save_restore, prepend_to_exit_gotos): New functions.
> >> 
> >> Use a TRY_FINALLY_EXPR instead.
> >
> > unnecesarily creating new eh handling constructs (that we really do not
> > manage somehow greatly) seems a bit like overkill to me.

> If we want the stack to be restored properly when we
> exit a block with a throw, we need to use an EH construct.

do we indeed want this? Of course it won't spoil anything, but
we can live without it.

> Reimplementing the functionality of TRY_FINALLY_EXPR by hand seems
> unmaintainable to me.

sure; I don't attempt this. I just copied what we do for stack restoring
currently.

Zdenek



More information about the Gcc-patches mailing list