Patchwork patch to fix PR59835

login
register
mail settings
Submitter Vladimir Makarov
Date Jan. 16, 2014, 7:07 p.m.
Message ID <52D82DD4.309@redhat.com>
Download mbox | patch
Permalink /patch/311826/
State New
Headers show

Comments

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

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
          {