combine.c (make_compound_operation): If force_to_mode re-expanded the compound use...
authorAdam Nemet <anemet@caviumnetworks.com>
Sat, 18 Jul 2009 21:55:40 +0000 (21:55 +0000)
committerAdam Nemet <nemet@gcc.gnu.org>
Sat, 18 Jul 2009 21:55:40 +0000 (21:55 +0000)
commit827f4079406b72fce7b49a29abe60ecb801462d5
tree31910105b61e164fdc184c5ff130eb63a48de118
parentf3ce108897e16f828b3350ac5c5be9d0ffc622c0
combine.c (make_compound_operation): If force_to_mode re-expanded the compound use gen_lowpart instead to convert to...

* combine.c (make_compound_operation) <SUBREG>: If force_to_mode
re-expanded the compound use gen_lowpart instead to convert to the
desired mode.

testsuite/
* gcc.target/mips/ext-2.c: New test.

From-SVN: r149781
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/ext-2.c [new file with mode: 0644]