diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/global.c | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 08d919c..f2a101b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Sat Dec 12 22:13:02 1998 Mark Mitchell <mark@markmitchell.com> + + * global.c (record_conflicts): Don't use an array of shorts to + store an array of ints. + (global_conflicts): Likewise. + Sat Dec 12 16:49:24 1998 Richard Henderson <rth@cygnus.com> * alpha.c (alpha_expand_block_move): mode_for_size expects diff --git a/gcc/global.c b/gcc/global.c index 3dd8463..6720172 100644 --- a/gcc/global.c +++ b/gcc/global.c @@ -261,7 +261,7 @@ static void expand_preferences PROTO((void)); static void prune_preferences PROTO((void)); static void find_reg PROTO((int, HARD_REG_SET, int, int, int)); static void record_one_conflict PROTO((int)); -static void record_conflicts PROTO((short *, int)); +static void record_conflicts PROTO((int *, int)); static void mark_reg_store PROTO((rtx, rtx)); static void mark_reg_clobber PROTO((rtx, rtx)); static void mark_reg_conflicts PROTO((rtx)); @@ -623,12 +623,12 @@ global_conflicts () { register int b, i; register rtx insn; - short *block_start_allocnos; + int *block_start_allocnos; /* Make a vector that mark_reg_{store,clobber} will store in. */ regs_set = (rtx *) alloca (max_parallel * sizeof (rtx) * 2); - block_start_allocnos = (short *) alloca (max_allocno * sizeof (short)); + block_start_allocnos = (int *) alloca (max_allocno * sizeof (int)); for (b = 0; b < n_basic_blocks; b++) { @@ -1291,7 +1291,7 @@ record_one_conflict (regno) static void record_conflicts (allocno_vec, len) - register short *allocno_vec; + register int *allocno_vec; register int len; { register int allocno; |