[tree-ssa] COMPOUND_EXPR removal

Richard Henderson rth@redhat.com
Wed Nov 5 18:27:00 GMT 2003


On Wed, Nov 05, 2003 at 05:08:03PM +0100, Zdenek Dvorak wrote:
> this patch replaces the COMPOUND_EXPRs by the double linked list of
> containers, thus finally making the manipulation with cfg reasonably
> simple.

Unfortunately, it doesn't start early enough.

In order to fix tree-eh speed problems, the double-linked-list has to
exist before lower_eh_constructs; i.e. at minimum it needs to be created
during gimplification.  Doing it there also avoids the need for 
rationalize_compound_expr during gimplification as well, which is nice.

But in order to have the double-linked-list exist before all the other
containers (COND_EXPR, TRY_FINALLY_EXPR, etc) have been removed, we have
to have a way to embed this list into existing tree nodes.  Which means
that we need a new tree container.


r~



More information about the Gcc-patches mailing list