From 83e0821b6037a62cc8b865bfb89e8c4011ecbc96 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sat, 6 Jun 1998 09:25:16 +0000 Subject: Some fixes for KNR compilers: * gencheck.c: Remove redundant stdio.h include. Add a definition of xmalloc for when we are forced to link with alloca.o. * reload1.c (reload_reg_free_for_value_p): Use `(unsigned)1' instead of `1U'. * fold-const.c (constant_boolean_node): Make definition static to match the prototype. From-SVN: r20261 --- gcc/reload1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/reload1.c') diff --git a/gcc/reload1.c b/gcc/reload1.c index b1a13fa..bc2a51a 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -5055,7 +5055,7 @@ reload_reg_free_for_value_p (regno, opnum, type, value, out, reloadnum) rtx reg = reload_reg_rtx[i]; if (reg && GET_CODE (reg) == REG && ((unsigned) regno - true_regnum (reg) - <= HARD_REGNO_NREGS (REGNO (reg), GET_MODE (reg)) - 1U) + <= HARD_REGNO_NREGS (REGNO (reg), GET_MODE (reg)) - (unsigned)1) && i != reloadnum) { if (out -- cgit v1.1