From 7ec189f2ec5af35774c5bda252dd09fc61698f71 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Fri, 6 Jun 1997 21:33:41 +0000 Subject: Fix off by one error From-SVN: r14167 --- gcc/regclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/regclass.c') diff --git a/gcc/regclass.c b/gcc/regclass.c index 358b7bb..a8a1c6e 100644 --- a/gcc/regclass.c +++ b/gcc/regclass.c @@ -1668,7 +1668,7 @@ allocate_reg_info (num_regs, new_p, renumber_p) int i; int size_info; int size_renumber; - int min = (new_p) ? 0 : regno_max+1; + int min = (new_p) ? 0 : regno_max; /* If this message come up, and you want to fix it, then all of the tables like reg_renumber, etc. that use short will have to be found and lengthed -- cgit v1.1