This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: EH duplication infrastructure
- From: Richard Henderson <rth at redhat dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 12 May 2005 11:01:24 -0700
- Subject: Re: EH duplication infrastructure
- References: <20050512164527.GC12545@kam.mff.cuni.cz>
On Thu, May 12, 2005 at 06:45:27PM +0200, Jan Hubicka wrote:
> * except.c (duplicate_eh_region_1, duplicate_eh_region_2,
> duplicate_eh_regions): New functions, based on old
> implementation removed with RTL inliner.
> (reachable_next_level): Modify behaviour pre-inline.
> * except.h (duplicate_eh_regions_map, duplicate_eh_regions):
> Declare.
> * function.h (struct function): Add after_inlining flag.
> * tree-optimize.c (tree_rest_of_compilation): Set it.
> * tree-eh.c (add_stmt_to_eh_region_fn): Initialize hashtable
> when needed.
> * tree-cfg.c (label_to_block_fn): Deal with cases where
> label was never insterted into code.
Ok.
> + *n = *o;
...
> + n->type = o->type;
Type has already been copied.
r~