From f9e158c377d54f13901c7ab2e79de3f741c71e39 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 4 May 2000 21:15:05 +0000 Subject: 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 --- gcc/gcse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/gcse.c') 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); -- cgit v1.1