combine.c (gen_lowpart_or_truncate): Exclude CONST_INTs from mode check.
authorRichard Sandiford <rdsandiford@googlemail.com>
Sat, 8 Aug 2009 08:32:24 +0000 (08:32 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sat, 8 Aug 2009 08:32:24 +0000 (08:32 +0000)
commitd686d89233250d2637ef415a40e8872d7588a06b
tree748209c722d516febae45c294a24cf4c971dc4e2
parent1fc00cc90a158a1e00a69c6035750c0bc209bc1c
combine.c (gen_lowpart_or_truncate): Exclude CONST_INTs from mode check.

gcc/
* combine.c (gen_lowpart_or_truncate): Exclude CONST_INTs from
mode check.  Do truncations in an integer mode.
(force_to_mode): Handle subregs for all mode types.  Only do
arithmetic simplifications on integer modes.

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