diff mbox

patch to fix PR59835

Message ID 52D82DD4.309@redhat.com
State New
Headers show

Commit Message

Vladimir Makarov Jan. 16, 2014, 7:07 p.m. UTC
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.
diff mbox

Patch

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
          {