2017-04-05 Vladimir Makarov <vmakarov@redhat.com>
commitcee17b995625e72b14691661293fade4ecf841a8
authorvmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Apr 2017 15:07:51 +0000 (5 15:07 +0000)
committervmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Apr 2017 15:07:51 +0000 (5 15:07 +0000)
treef6b934776426804443cf92790fbf182c67668c72
parent6dc833787d9293dfc04cf56f02ac27ffaf2b4b99
2017-04-05  Vladimir Makarov  <vmakarov@redhat.com>

PR rtl-optimization/70703
* ira-color.c (update_costs_from_allocno): Use the smallest mode.
(update_conflict_hard_regno_costs): Use long instead of unsigned
arithmetic for cost calculation.

2017-04-05  Vladimir Makarov  <vmakarov@redhat.com>

PR rtl-optimization/70703
* gcc.target/i386/pr70703.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246707 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ira-color.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr70703.c [new file with mode: 0644]