This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for PR tree-optimization/32941, bootstrap comparision failure
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: dberlin at dberlin dot org
- Cc: dnovillo at google dot com, sje at cup dot hp dot com, gcc-patches at gcc dot gnu dot org, andreasmeier80 at gmx dot de
- Date: Fri, 10 Aug 2007 14:57:32 -0700 (PDT)
- Subject: 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