diff options
author | Joseph Myers <joseph@codesourcery.com> | 2008-10-13 22:31:47 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2008-10-13 22:31:47 +0100 |
commit | f27017d133f82f9646f0ae3810415644aadb6d30 (patch) | |
tree | 4fe939735422a148d28f1c19c82ec16c94f9e358 /gcc/combine.c | |
parent | bca60f4cf9b387e2d03b10b9ecfe637ce4a22df6 (diff) | |
download | gcc-f27017d133f82f9646f0ae3810415644aadb6d30.zip gcc-f27017d133f82f9646f0ae3810415644aadb6d30.tar.gz gcc-f27017d133f82f9646f0ae3810415644aadb6d30.tar.bz2 |
combine.c (simplify_set): Avoid calling LOAD_EXTEND_OP on non-integer modes.
* combine.c (simplify_set): Avoid calling LOAD_EXTEND_OP on
non-integer modes.
From-SVN: r141096
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index 5821301..55baf371 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -5843,6 +5843,7 @@ simplify_set (rtx x) zero_extend to avoid the reload that would otherwise be required. */ if (GET_CODE (src) == SUBREG && subreg_lowpart_p (src) + && INTEGRAL_MODE_P (GET_MODE (SUBREG_REG (src))) && LOAD_EXTEND_OP (GET_MODE (SUBREG_REG (src))) != UNKNOWN && SUBREG_BYTE (src) == 0 && (GET_MODE_SIZE (GET_MODE (src)) |