From 6b84145cd2b7281aae13710912b1f9c1b4026e94 Mon Sep 17 00:00:00 2001 From: nemet Date: Thu, 9 Mar 2006 23:05:50 +0000 Subject: [PATCH] * 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 --- gcc/ChangeLog | 5 +++++ gcc/combine.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 32155a4e933..d545ac42c14 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-03-09 Adam Nemet + + * combine.c (simplify_shift_const_1): Use gen_lowpart_or_truncate + instead of gen_lowpart. + 2006-03-09 Richard Sandiford * config/mips/mips-protos.h (mips_output_conditional_branch): Change 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. */ -- 2.11.4.GIT