From 27d7e05d4a13e44c45aae7a71078de30a613bc4f Mon Sep 17 00:00:00 2001 From: Manfred Hollstein Date: Thu, 12 Mar 1998 01:04:46 +0000 Subject: [PATCH] basic-block.h (compute_preds_succs): Change return type in prototype to void. * basic-block.h (compute_preds_succs): Change return type in prototype to void. * flow.c (compute_preds_succs): Likewise in function definition. * regmove.c (find_matches): Cast char used as array index to unsigned char to supress warning. From-SVN: r18508 --- gcc/regmove.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/regmove.c b/gcc/regmove.c index b3029e06d0a..3f85f7b0a25 100644 --- a/gcc/regmove.c +++ b/gcc/regmove.c @@ -1202,7 +1202,7 @@ find_matches (insn, matchp) case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': c -= '0'; - if (c < operand_number && likely_spilled[c]) + if (c < operand_number && likely_spilled[(unsigned char) c]) break; matchp->with[operand_number] = c; any_matches = 1;