This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
patch to fix PR59835
- From: Vladimir Makarov <vmakarov at redhat dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 16 Jan 2014 14:07:00 -0500
- Subject: patch to fix PR59835
- Authentication-results: sourceware.org; auth=none
The following patch fixes
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59835
Committed as rev. 206676.
2014-01-16 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/59835
* ira.c (ira_init_register_move_cost): Increase cost for
impossible modes.
Index: ira.c
===================================================================
--- ira.c (revision 206675)
+++ ira.c (working copy)
@@ -1587,7 +1587,7 @@
cost = 65535;
else
cost = (ira_memory_move_cost[mode][cl1][0]
- + ira_memory_move_cost[mode][cl2][1]);
+ + ira_memory_move_cost[mode][cl2][1]) * 2;
}
else
{