2018-02-09 Vladimir Makarov <vmakarov@redhat.com>
commit09caa0fddd285fd2ce8c7494074e41b7d9826c8d
authorvmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Feb 2018 18:23:58 +0000 (9 18:23 +0000)
committervmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Feb 2018 18:23:58 +0000 (9 18:23 +0000)
treeec641dffc65fc1989fe74589f03566bb4c97868e
parent48aac529353efd651f355fc92045447a8419c694
2018-02-09  Vladimir Makarov  <vmakarov@redhat.com>

PR rtl-optimization/57193
* ira-color.c (struct allocno_color_data): Add member
conflict_allocno_hard_prefs.
(update_conflict_allocno_hard_prefs): New.
(bucket_allocno_compare_func): Add a preference based on
conflict_allocno_hard_prefs.
(push_allocno_to_stack): Update conflict_allocno_hard_prefs.
(color_allocnos): Remove a dead code.  Initiate
conflict_allocno_hard_prefs.  Call update_costs_from_prefs.

2018-02-09  Vladimir Makarov  <vmakarov@redhat.com>

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

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