diff options
author | meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-06-06 21:33:41 +0000 |
---|---|---|
committer | meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-06-06 21:33:41 +0000 |
commit | 861ca0c44e8a8f5e9730cbcb965c97e0dcc131b3 (patch) | |
tree | e9aad60d91d988e0dd8ebd82390aa6875a75c265 /gcc/regclass.c | |
parent | 9dd2db317a14e88aa17c89258570e4b950cf9d1f (diff) | |
download | gcc-861ca0c44e8a8f5e9730cbcb965c97e0dcc131b3.tar.gz |
Fix off by one error
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14167 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r-- | gcc/regclass.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |