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)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 01:04:24 +0000 (10:04 +0900)
commit304d9d629e6cba170a5191663dfe1a15ea7b2d59
tree6da6ecf2fceb1cf57d7c45f72d008e3e76438c96
parent535727cc794e7649acf2a79c8eea0e766dbace22
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