[Bug rtl-optimization/63397] signed integer overflows in ira.c
vmakarov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 15 22:19:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63397
--- Comment #1 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Author: vmakarov
Date: Mon Dec 15 22:18:51 2014
New Revision: 218766
URL: https://gcc.gnu.org/viewcvs?rev=218766&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ira-int.h
trunk/gcc/ira.c
More information about the Gcc-bugs
mailing list