diff options
author | Michael Meissner <meissner@cygnus.com> | 1998-05-13 11:57:25 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-05-13 05:57:25 -0600 |
commit | a494747c2bc3a11aff14039aef14c40362bc29dd (patch) | |
tree | affa5342afa4173d23bb37d6decef873724b5ca9 /gcc/regclass.c | |
parent | 7dee3f36c6feef2bc456ac5f578412d14d205e43 (diff) | |
download | gcc-a494747c2bc3a11aff14039aef14c40362bc29dd.zip gcc-a494747c2bc3a11aff14039aef14c40362bc29dd.tar.gz gcc-a494747c2bc3a11aff14039aef14c40362bc29dd.tar.bz2 |
acconfig.h (ENABLE_CHECKING): Undefine.
* acconfig.h (ENABLE_CHECKING): Undefine.
* configure.in (--enable-checking): New option.
* flow.c (reg_n_max): New global variable.
* regclass.c (allocate_reg_info): Keep reg_n_max up to date.
Delete regno_max variable.
* regs.h (REG_N_CHECK): Define.
(REG_N_REFS, REG_N_SETS, REG_N_DEATHS): Use REG_N_CHECK.
(REG_N_CHANGES_SIZE, REG_N_CALLS_CROSSED, REG_LIVE_LENGTH): Likewise.
(REGNO_FIRST_UID, REGNO_LAST_UID, REGNO_LAST_NOTE_UID): Likewise.
Co-Authored-By: Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
From-SVN: r19708
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r-- | gcc/regclass.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c index 5fef265..5c605eb 100644 --- a/gcc/regclass.c +++ b/gcc/regclass.c @@ -1754,12 +1754,11 @@ allocate_reg_info (num_regs, new_p, renumber_p) int renumber_p; { static int regno_allocated = 0; - static int regno_max = 0; static short *renumber = (short *)0; int i; int size_info; int size_renumber; - int min = (new_p) ? 0 : regno_max; + int min = (new_p) ? 0 : reg_n_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 @@ -1776,7 +1775,7 @@ allocate_reg_info (num_regs, new_p, renumber_p) renumber = (short *)0; } regno_allocated = 0; - regno_max = 0; + reg_n_max = 0; return; } @@ -1823,7 +1822,7 @@ allocate_reg_info (num_regs, new_p, renumber_p) /* Tell the regset code about the new number of registers */ MAX_REGNO_REG_SET (num_regs, new_p, renumber_p); - regno_max = num_regs; + reg_n_max = num_regs; } |