Combine simplify_set WORD_REGISTER_OPERATIONS
authorAlan Modra <amodra@gmail.com>
Wed, 4 May 2016 00:11:32 +0000 (09:41 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Wed, 4 May 2016 00:11:32 +0000 (09:41 +0930)
commit343d0287f2e4f0360e2c0310b48f94d695ed0e4c
tree9fa15ef0c727e87fda693b64ffd578e0e16ffdff
parent475839b6db90ccdb27c0cc56400185cd04e783c3
Combine simplify_set WORD_REGISTER_OPERATIONS

The comment says this test is supposed to prevent "a narrower
operation than requested", but it actually only allows a larger
subreg not one the same size.  Fix that.

* combine.c (simplify_set): Correct WORD_REGISTER_OPERATIONS test.

From-SVN: r235852
gcc/ChangeLog
gcc/combine.c