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]: Fix alias grouping of name tags.


On 12/9/06, Eric Botcazou <ebotcazou@libertysurf.fr> wrote:
> * tree-ssa-alias.c (tree_pointer_compare): New function.

/* Simple comparison function for qsort that sorts based on pointer
   address.  */

static int
tree_pointer_compare (const void *pa, const void *pb)
{
  const tree a = *((const tree *)pa);
  const tree b = *((const tree *)pb);

  return b - a;
}


This must be avoided because of the dependency on the host.

Only if changing ordering might change code generation.


Richard.


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