re PR rtl-optimization/48455 (Huge code size regression for all ARM configurations)
authorVladimir Makarov <vmakarov@redhat.com>
Wed, 13 Apr 2011 18:26:52 +0000 (18:26 +0000)
committerVladimir Makarov <vmakarov@gcc.gnu.org>
Wed, 13 Apr 2011 18:26:52 +0000 (18:26 +0000)
2011-04-13  Vladimir Makarov  <vmakarov@redhat.com>

PR rtl-optimization/48455
* ira-costs.c (find_costs_and_classes): Use i_mem_cost instead of
`temp_costs->mem_cost'.

From-SVN: r172389

gcc/ChangeLog
gcc/ira-costs.c

index 4347718324944b8c20045f3f9eed1ada06173e29..20459333351bd916aeba1a1ed1c4b0fa63ae543b 100644 (file)
@@ -1,3 +1,9 @@
+2011-04-13  Vladimir Makarov  <vmakarov@redhat.com>
+
+       PR rtl-optimization/48455
+       * ira-costs.c (find_costs_and_classes): Use i_mem_cost instead of
+       `temp_costs->mem_cost'.
+
 2011-04-13  Jan Hubicka  <jh@suse.cz>
 
        * ipa-inline.h: New file.
index dd3123c0887367862f8d6802000a3e688e6830bd..3b113b67da9aefa89be54371db6182730190cbec 100644 (file)
@@ -1663,10 +1663,10 @@ find_costs_and_classes (FILE *dump_file)
                }
            }
          if (equiv_savings < 0)
-           temp_costs->mem_cost = -equiv_savings;
+           i_mem_cost = -equiv_savings;
          else if (equiv_savings > 0)
            {
-             temp_costs->mem_cost = 0;
+             i_mem_cost = 0;
              for (k = cost_classes_ptr->num - 1; k >= 0; k--)
                i_costs[k] += equiv_savings;
            }