From: Aldy Hernandez Date: Sat, 20 Nov 2004 01:44:25 +0000 (+0000) Subject: simplify-rtx.c (simplify_ternary_operation): Use trunc_int_for_mode. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=449ecb09b3677aa1d7225862dcc53e6f27b0bad0;p=gcc.git simplify-rtx.c (simplify_ternary_operation): Use trunc_int_for_mode. * simplify-rtx.c (simplify_ternary_operation): Use trunc_int_for_mode. From-SVN: r90948 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 91282c311e9..760e977ec57 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-11-19 Aldy Hernandez + + * simplify-rtx.c (simplify_ternary_operation): Use + trunc_int_for_mode. + 2004-11-19 Kazu Hirata * tree-cfg.c (reinstall_phi_args): New. diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index e463fef1efe..a9d4ba3e5d2 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -3170,7 +3170,7 @@ simplify_ternary_operation (enum rtx_code code, enum machine_mode mode, != ((HOST_WIDE_INT) (-1) << (width - 1)))) val &= ((HOST_WIDE_INT) 1 << width) - 1; - return GEN_INT (val); + return gen_int_mode (val, mode); } break;