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: Patch for PR tree-optimization/32941, bootstrap comparision failure


Daniel Berlin wrote:

> Or uh, why not just make qsort not sort on the addresses?
> Can't you add uid's to the statements based on the order we see them,
> and just sort on that?
> 
> This is what a few other passes do.
> 
> add an id

But the stmt field in the goto_queue_node is a tree, adding an id would
mean adding an id to the general tree structure (I think).  Are we willing
to add that kind of space?  Or are the tree's pointed to by the goto_queue
always a particular type so that we could add it to one subtype of tree?

Steve Ellcey
sje@cup.hp.com


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