summaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authornemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-09 23:05:50 +0000
committernemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-09 23:05:50 +0000
commit6b84145cd2b7281aae13710912b1f9c1b4026e94 (patch)
treef4ec8825ce8881a858179ed0caaa6c38230cd8f3 /gcc/combine.c
parent76845580d7798cd9380642d34e2e6053d12a735c (diff)
downloadgcc-6b84145cd2b7281aae13710912b1f9c1b4026e94.tar.gz
* combine.c (simplify_shift_const_1): Use gen_lowpart_or_truncate
instead of gen_lowpart. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111911 138bc75d-0d04-0410-961f-82ee72b054a4
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 74b01cbc014..04a3b0492c7 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. */