aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorAdam Nemet <anemet@caviumnetworks.com>2006-03-09 23:05:50 +0000
committerAdam Nemet <nemet@gcc.gnu.org>2006-03-09 23:05:50 +0000
commitf243cee6f12b13b52053f746048af92045ca0c2c (patch)
treef4ec8825ce8881a858179ed0caaa6c38230cd8f3 /gcc/combine.c
parent17029ac2c3a874073805f11941a7b5f888923d3a (diff)
downloadgcc-f243cee6f12b13b52053f746048af92045ca0c2c.zip
gcc-f243cee6f12b13b52053f746048af92045ca0c2c.tar.gz
gcc-f243cee6f12b13b52053f746048af92045ca0c2c.tar.bz2
combine.c (simplify_shift_const_1): Use gen_lowpart_or_truncate instead of gen_lowpart.
* combine.c (simplify_shift_const_1): Use gen_lowpart_or_truncate instead of gen_lowpart. From-SVN: r111911
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index 74b01cb..04a3b04 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -9199,7 +9199,7 @@ simplify_shift_const_1 (enum rtx_code code, enum machine_mode result_mode,
GET_MODE_MASK (result_mode) >> orig_count);
/* Do the remainder of the processing in RESULT_MODE. */
- x = gen_lowpart (result_mode, x);
+ x = gen_lowpart_or_truncate (result_mode, x);
/* If COMPLEMENT_P is set, we have to complement X before doing the outer
operation. */