ira-costs: avoid missing base registers in record_address_regs
authorAlexander Monakov <amonakov@ispras.ru>
Tue, 29 Aug 2017 17:34:21 +0000 (20:34 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Tue, 29 Aug 2017 17:34:21 +0000 (20:34 +0300)
commit9f1c93df4811bcef7e852f20c902e6e72c34dec9
tree4aa22898903a7ae206032cb78ce114dcc40c6814
parent2ffc0382ff79b23a6f88113d277842934de258ed
ira-costs: avoid missing base registers in record_address_regs

* ira-costs.c (record_address_regs): Handle both operands of PLUS for
MAX_REGS_PER_ADDRESS == 1.

From-SVN: r251418
gcc/ChangeLog
gcc/ira-costs.c