This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] EH cleanup patch
- From: law at redhat dot com
- To: Andrew MacLeod <amacleod at redhat dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 17 Jun 2003 09:09:52 -0600
- Subject: Re: [tree-ssa] EH cleanup patch
- Reply-to: law at redhat dot com
In message <1055859320.8784.1098.camel@p4>, Andrew MacLeod writes:
>Anyway, give this a try. I handled 3 or 4 different situations in it. Im
>currently running regressions, I fugured you'd want it ASAP :-)
>
>Andrew
>
>
> * tree-cfg.c (handle_switch_fallthru): New. Handle fallthru from switch
>.
> (bsi_committing_edge_insertions): New. Ststic indicating whether edge
> insertion is happening on demand or by queued edge lists.
> (cleanup_switch_expr_graph): Remove fallthru edge if default label
> is anywhere in the case label list.
> (find_insert_location): Call handle_switch_fallthru when appropriate.
> (bsi_commit_edge_inserts): Set bsi_committing_edge_insertion flag.
> * tree-iterator.h (tsi_last): New. Set TSI to last stmt in a chain.
I'll give it a whirl. I should have some preliminary results pretty quickly.
Jeff