This is the mail archive of the
mailing list for the GCC project.
Re: [tree-ssa] RFC: Making control flow more explicit
On Thu, 7 Aug 2003 23:27:26 +0200, Zdenek Dvorak <email@example.com> wrote:
> BIND_EXPRs, EH constructs -- there is more fun with these. It would be
> too difficult to handle them now in other way than to recreate them
> after optimizations. So I keep a tree of these constructs separately
> (plus pointers to their entry and exit blocks) and after optimizations
> I reconstruct the trees from them.
The optimizers need to deal with EH directly: We can prune a lot of
unnecessary EH edges during optimization. Also, the EH ABI was designed so
that optimizers can insert code on edges to exception handlers; that's what
the landing pad is for.