From 051e5bbf6ba91f419b6d3ff6a3a75e17dd2506dd Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Wed, 24 Jun 1992 03:01:33 +0000 Subject: *** empty log message *** From-SVN: r1259 --- gcc/regclass.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gcc/regclass.c') diff --git a/gcc/regclass.c b/gcc/regclass.c index eda799c6..4bb6605 100644 --- a/gcc/regclass.c +++ b/gcc/regclass.c @@ -962,12 +962,12 @@ record_address_regs (x, bcost, icost) /* Indexed by pseudo register number, gives uid of first insn using the reg (as of the time reg_scan is called). */ -short *regno_first_uid; +int *regno_first_uid; /* Indexed by pseudo register number, gives uid of last insn using the reg (as of the time reg_scan is called). */ -short *regno_last_uid; +int *regno_last_uid; /* Record the number of registers we used when we allocated the above two tables. If we are called again with more than this, we must re-allocate @@ -996,15 +996,15 @@ reg_scan (f, nregs, repeat) /* Leave some spare space in case more regs are allocated. */ highest_regno_in_uid_map = nregs + nregs / 20; regno_first_uid - = (short *) oballoc (highest_regno_in_uid_map * sizeof (short)); + = (int *) oballoc (highest_regno_in_uid_map * sizeof (int)); regno_last_uid - = (short *) oballoc (highest_regno_in_uid_map * sizeof (short)); + = (int *) oballoc (highest_regno_in_uid_map * sizeof (int)); reg_n_sets = (short *) oballoc (highest_regno_in_uid_map * sizeof (short)); } - bzero (regno_first_uid, highest_regno_in_uid_map * sizeof (short)); - bzero (regno_last_uid, highest_regno_in_uid_map * sizeof (short)); + bzero (regno_first_uid, highest_regno_in_uid_map * sizeof (int)); + bzero (regno_last_uid, highest_regno_in_uid_map * sizeof (int)); bzero (reg_n_sets, highest_regno_in_uid_map * sizeof (short)); max_parallel = 3; -- cgit v1.1