re PR rtl-optimization/70703 (Regression in register usage on x86)
authorVladimir Makarov <vmakarov@redhat.com>
Wed, 5 Apr 2017 15:07:51 +0000 (15:07 +0000)
committerVladimir Makarov <vmakarov@gcc.gnu.org>
Wed, 5 Apr 2017 15:07:51 +0000 (15:07 +0000)
commite2323a2b77c91d1ba8194b01e6deaa2e00f15990
treef6b934776426804443cf92790fbf182c67668c72
parent47a113429b00669d57bbea6aa84f51e4c4869592
re PR rtl-optimization/70703 (Regression in register usage on x86)

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.

From-SVN: r246707
gcc/ChangeLog
gcc/ira-color.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr70703.c [new file with mode: 0644]