aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-03-05 17:25:33 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-03-05 17:25:33 +0000
commitbb80db7b6d673e73279e4315a82548c5c2c7d5f0 (patch)
tree4288bc0ceecc510bdce1588734c95522f1483990 /gcc/combine.c
parent60b92d702890eae310fddaf1dac424743ce5292b (diff)
downloadgcc-bb80db7b6d673e73279e4315a82548c5c2c7d5f0.zip
gcc-bb80db7b6d673e73279e4315a82548c5c2c7d5f0.tar.gz
gcc-bb80db7b6d673e73279e4315a82548c5c2c7d5f0.tar.bz2
combine.c (simplify_and_const_int): Use gen_int_mode instead of GEN_INT (trunc_int_for_mode (...)).
* combine.c (simplify_and_const_int): Use gen_int_mode instead of GEN_INT (trunc_int_for_mode (...)). * loop-iv.c (iv_number_of_iterations): Likewise. * postreload.c (reload_cse_move2add): Likewise. * simplify-rtx.c (simplify_const_unary_operation, simplify_const_binary_operation): Likewise. * stor-layout.c (get_mode_bounds): Likewise. From-SVN: r95935
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 5d34dfa..48d7020 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -8095,7 +8095,7 @@ simplify_and_const_int (rtx x, enum machine_mode mode, rtx varop,
/* If VAROP is a CONST_INT, then we need to apply the mask in CONSTOP
to VAROP and return the new constant. */
if (GET_CODE (varop) == CONST_INT)
- return GEN_INT (trunc_int_for_mode (INTVAL (varop) & constop, mode));
+ return gen_int_mode (INTVAL (varop) & constop, mode);
/* See what bits may be nonzero in VAROP. Unlike the general case of
a call to nonzero_bits, here we don't care about bits outside