From: nemet Date: Thu, 9 Mar 2006 23:05:50 +0000 (+0000) Subject: * combine.c (simplify_shift_const_1): Use gen_lowpart_or_truncate X-Git-Tag: upstream/4.9.2~55447 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b84145cd2b7281aae13710912b1f9c1b4026e94;p=platform%2Fupstream%2Flinaro-gcc.git * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 32155a4..d545ac4 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 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. */