From 861ca0c44e8a8f5e9730cbcb965c97e0dcc131b3 Mon Sep 17 00:00:00 2001 From: meissner Date: Fri, 6 Jun 1997 21:33:41 +0000 Subject: Fix off by one error git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14167 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 358b7bb1296..a8a1c6e7301 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.2.1