i386.c (ix86_decompose_address): Allow only subregs of DImode hard registers in index.
authorUros Bizjak <ubizjak@gmail.com>
Wed, 20 Jul 2011 21:43:38 +0000 (23:43 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 20 Jul 2011 21:43:38 +0000 (23:43 +0200)
commit00b40d0da26a32c18f696c8f301b51f55960d155
tree60a4c9cc32d02505deb16553b1575c7a5eba5f2e
parent87f5355496a23915469b71b0292ab04377cf0ebd
i386.c (ix86_decompose_address): Allow only subregs of DImode hard registers in index.

* config/i386/i386.c (ix86_decompose_address): Allow only subregs
of DImode hard registers in index.
(ix86_legitimate_address_p): Allow subregs of base and index to span
more than a word.  Assert that subregs of base and index satisfy
register_no_elim_operand predicates.  Reject addresses where
base and index have different modes.

From-SVN: r176536
gcc/ChangeLog
gcc/config/i386/i386.c