OSDN Git Service

2010-04-16 Doug Kwan <dougkwan@google.com>
authordougkwan <dougkwan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Apr 2010 20:31:39 +0000 (20:31 +0000)
committerdougkwan <dougkwan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Apr 2010 20:31:39 +0000 (20:31 +0000)
commit17b5ea6f8887fb3cfa2740e1bf2425d57a6118df
tree2df4319ed01e11e966033a4a74ff1be247cfbf1c
parent2ca8548b1af8b8cceb106bda358082a7219d44bd
2010-04-16  Doug Kwan  <dougkwan@google.com>

* tree-ssa-reassoc.c (struct operand_entry): Add new field ID.
(next_operand_entry_id): New static variable.
(sort_by_operand_rank): Stabilize qsort comparator by using unique IDs.
(add_to_ops_vec): Assigned unique ID to operand entry.
  (struct oecount_s): New field ID.
(oecount_cmp): Stabilize qsort comparotor by using unique IDs.
(undistribute_ops_list): Assign unique IDs to oecounts.
(init_reassoc): reset next_operand_entry_id.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158449 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-ssa-reassoc.c