This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa] Get rid of LOOP_EXPRs


On Wed, Aug 20, 2003 at 09:07:27PM +0200, Zdenek Dvorak wrote:
> may I know more about this work?  I suppose it might help me with
> getting changes from tree-ssa-cfg-branch in.

The object here is to get lower the somewhat problematic TRY_FINALLY_EXPR
and TRY_CATCH_EXPR nodes to something more amenable to optimization.  This
is done by converting them to a set of gotos, eh region numbers, and magic
labels -- more or less exactly how things work at the rtl level now.

Indeed, a sub-goal here is to use the exact same data structures for the
eh information as we do at the rtl level, so that the tree->rtl lowering
process need do nothing but ensure that the eh region numbers are retained.

FYI, here's my patch in progress.  It is certainly not complete.  Excluding
the cfun initialization problem present in !C already mentioned, there are
a number of FIXMEs where I havn't yet written the code that C++ and Java
will need.

It seems to be coming along nicely though.


r~

Attachment: d-eh-2.gz
Description: GNU Zip compressed data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]