[tree-ssa] RFC: Making control flow more explicit

Jason Merrill jason@redhat.com
Thu Aug 7 23:21:00 GMT 2003


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



More information about the Gcc mailing list