aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
authorJason Merrill <jason@casey.cygnus.com>2000-05-04 21:15:05 +0000
committerJason Merrill <jason@gcc.gnu.org>2000-05-04 17:15:05 -0400
commitf9e158c377d54f13901c7ab2e79de3f741c71e39 (patch)
treef94edf423be1c6f8735d954344a16ef175aca24d /gcc/gcse.c
parent926fd2e161ada3acf143b8c123b9237d53e3c27e (diff)
downloadgcc-f9e158c377d54f13901c7ab2e79de3f741c71e39.zip
gcc-f9e158c377d54f13901c7ab2e79de3f741c71e39.tar.gz
gcc-f9e158c377d54f13901c7ab2e79de3f741c71e39.tar.bz2
simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
* simplify-rtx.c (simplify_ternary_operation): Cast to unsigned. * stor-layout.c (place_field): Likewise. * integrate.h (struct inline_remap): Make regno_pointer_align unsigned. * expr.c (store_expr): Make align unsigned. * explow.c (plus_constant_wide): Make low words unsigned. * expmed.c (choose_multiplier): Likewise. * fold-const.c (fold): Likewise. * tree.h (build_int_2): Likewise. * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise. * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*. (init_emit): Change cast to unsigned char*. * varasm.c (compare_constant_1): Add cast to char*. * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*. * reload1.c (reload): Likewise. * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0). From-SVN: r33684
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r--gcc/gcse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index b135ac1..78b9d59 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -5093,7 +5093,7 @@ delete_null_pointer_checks (f)
/* Go through the basic blocks, seeing whether or not each block
ends with a conditional branch whose condition is a comparison
against zero. Record the register compared in BLOCK_REG. */
- block_reg = (int *) xcalloc (n_basic_blocks, sizeof (int));
+ block_reg = (unsigned int *) xcalloc (n_basic_blocks, sizeof (int));
for (bb = 0; bb < n_basic_blocks; bb++)
{
rtx last_insn = BLOCK_END (bb);