This is the mail archive of the
gcc@gcc.gnu.org
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 <rakdver@atrey.karlin.mff.cuni.cz> 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.
Jason