aboutsummaryrefslogtreecommitdiff
path: root/gcc/stor-layout.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/stor-layout.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/stor-layout.c')
-rw-r--r--gcc/stor-layout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index ac7fb74..66395a9 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -2097,8 +2097,8 @@ get_mode_bounds (enum machine_mode mode, int sign,
max_val = ((unsigned HOST_WIDE_INT) 1 << (size - 1) << 1) - 1;
}
- *mmin = GEN_INT (trunc_int_for_mode (min_val, target_mode));
- *mmax = GEN_INT (trunc_int_for_mode (max_val, target_mode));
+ *mmin = gen_int_mode (min_val, target_mode);
+ *mmax = gen_int_mode (max_val, target_mode);
}
#include "gt-stor-layout.h"