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] Make tsi insert iterators handle chains of COMPOUND_EXPRs


Hello,

please ignore note in my last mail about "even greater overhead", it
makes no sense.

> We've had discussion of changing the way tree's are linked, not just
> when there is a CFG present. Instead of COMPOUND_EXPR's we'd use doubly
> linked lists. rth has a promising scheme which removes the links from
> the tree node itself, and holds the links in a different data
> structure.

It might be easier to use TREE_LIST nodes, with say purpose field as
back pointer; there are not so many senseless fields in them, and it
would avoid mixing the structures of different type.

Zdenek


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