diff options
author | Vladimir Makarov <vmakarov@redhat.com> | 2011-04-13 18:26:52 +0000 |
---|---|---|
committer | Vladimir Makarov <vmakarov@gcc.gnu.org> | 2011-04-13 18:26:52 +0000 |
commit | 89fa552a9e33f75afd6c02204e29d6aa4c74c1ab (patch) | |
tree | 7b5baeb69fc8d9d5e73a536fed3e581a94d7b21c /gcc | |
parent | 03dfc36daf0f94adc8eee3f8ddb88be5f3c4e576 (diff) | |
download | gcc-89fa552a9e33f75afd6c02204e29d6aa4c74c1ab.zip gcc-89fa552a9e33f75afd6c02204e29d6aa4c74c1ab.tar.gz gcc-89fa552a9e33f75afd6c02204e29d6aa4c74c1ab.tar.bz2 |
re PR rtl-optimization/48455 (Huge code size regression for all ARM configurations)
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/ira-costs.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4347718..2045933 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/ira-costs.c b/gcc/ira-costs.c index dd3123c..3b113b6 100644 --- a/gcc/ira-costs.c +++ b/gcc/ira-costs.c @@ -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; } |