This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/64058] [5/6 Regression] Performance degradation after r216304
- From: "law at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 Mar 2016 21:08:03 +0000
- Subject: [Bug tree-optimization/64058] [5/6 Regression] Performance degradation after r216304
- Auto-submitted: auto-generated
- References: <bug-64058-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64058
--- Comment #19 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Fri Mar 11 21:07:31 2016
New Revision: 234149
URL: https://gcc.gnu.org/viewcvs?rev=234149&root=gcc&view=rev
Log:
PR tree-optimization/64058
* tree-ssa-coalesce.c (struct coalesce_pair): Add new field INDEX.
(num_coalesce_pairs): Move up earlier in file.
(find_coalesce_pair): Initialize the INDEX field for each pair
discovered.
(compare_pairs): No longer sort on the elements in each pair.
Instead break ties with the index of the coalesce pair.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-ssa-coalesce.c