re PR rtl-optimization/63397 (signed integer overflows in ira.c)
authorVladimir Makarov <vmakarov@redhat.com>
Mon, 15 Dec 2014 22:18:51 +0000 (22:18 +0000)
committerVladimir Makarov <vmakarov@gcc.gnu.org>
Mon, 15 Dec 2014 22:18:51 +0000 (22:18 +0000)
commit2bf7560bd3757dbd0d7ffbe8e61b3eb847cfc5f0
treec7eadd391375310c849f787bc11ce646af84f360
parent2bef63e105f0fb8f857ec72ce6f6322aa605fa1a
re PR rtl-optimization/63397 (signed integer overflows in ira.c)

2014-12-15  Vladimir Makarov  <vmakarov@redhat.com>

PR rtl-optimization/63397
* ira-int.h (ira_overall_cost, ira_reg_cost, ira_mem_cost): Use
int64_t.
(ira_load_cost, ira_store_cost, ira_shuffle_cost): Ditto.
* ira.c (ira_overall_cost, ira_overall_cost_before): Ditto.
(ira_reg_cost, ira_mem_cost): Ditto.
(ira_load_cost, ira_store_cost, ira_shuffle_cost): Ditto.
(calculate_allocation_cost, do_reload): Use the right
format for int64_t values.

From-SVN: r218766
gcc/ChangeLog
gcc/ira-int.h
gcc/ira.c