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] Tree Browser


On Fri, Nov 01, 2002 at 01:29:07PM -0800, Daniel Berlin wrote:
> getline is a libc only thing.
> Though i have extracted code from sed (I'm sure it's around elsewhere)
> that emulates it in a portable way.
> I just static'd it and threw it at the top of the tree browser.

thanks for your help Dan.

> 
> Also, do you hvae code that defines PREV_STMT and UP_STMT, or is this
> just "pie in the sky".

You're right ;-)

  For PREV_STMT there's already code in tree-dchain.[ch].  However it will 
modify the structure of the tree for storing PREV information...
  There's also Jason's proposal for storing this information in other tree
nodes: for example we could choose an existing node and use its fields
for storing PREV/UP information, or just create a new node with no other 
purpose than storing this information.
  Another solution is to create specific fields "prev" and "parent" 
(as for "chain" field), but this will increase the size of the tree 
representation.


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