* combine.c (make_compound_operation) <SUBREG>: If force_to_mode
commitdce31f4655bb5e9e592c8d925850f28b089c5c74
authornemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Jul 2009 21:55:40 +0000 (18 21:55 +0000)
committernemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Jul 2009 21:55:40 +0000 (18 21:55 +0000)
tree31910105b61e164fdc184c5ff130eb63a48de118
parent4e0ce2fb023ffff84834a540673e63bcb1e40998
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149781 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/ext-2.c [new file with mode: 0644]