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]

patch to fix PR59835


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
          {


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