diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-04-17 21:44:50 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-04-17 21:44:50 +0000 |
commit | 864528caf477db9a5064a870361bdc1a40f81c3d (patch) | |
tree | 0f8f4d5ddd5385ad0f223bb2f69a998921489318 /gcc/reg-stack.c | |
parent | 30d7d56bf92be95d823a3d194c656035014921ba (diff) | |
download | gcc-864528caf477db9a5064a870361bdc1a40f81c3d.tar.gz |
(block_number, BLOCK_NUM, reg_to_stack): Use ints, not shorts to count
blocks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4177 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reg-stack.c')
-rw-r--r-- | gcc/reg-stack.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index df636056100..cde0ca30e44 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -216,7 +216,7 @@ static HARD_REG_SET *block_out_reg_set; later, but only to look up an insn that is the head or tail of some block. life_analysis and the stack register conversion process can add insns within a block. */ -static short *block_number; +static int *block_number; /* This is the register file for all register after conversion */ static rtx FP_mode_reg[FIRST_PSEUDO_REGISTER][(int) MAX_MACHINE_MODE]; @@ -226,7 +226,7 @@ static rtx FP_mode_reg[FIRST_PSEUDO_REGISTER][(int) MAX_MACHINE_MODE]; #define BLOCK_NUM(INSN) \ (((INSN_UID (INSN) > max_uid) \ - ? (short *)(abort() , 0) \ + ? (int *)(abort() , 0) \ : block_number)[INSN_UID (INSN)]) extern rtx gen_jump (); @@ -366,7 +366,7 @@ reg_to_stack (first, file) bzero (block_stack_in, blocks * sizeof (struct stack_def)); bzero (block_out_reg_set, blocks * sizeof (HARD_REG_SET)); - block_number = (short *) alloca ((max_uid + 1) * sizeof (short)); + block_number = (int *) alloca ((max_uid + 1) * sizeof (int)); find_blocks (first); stack_reg_life_analysis (first); |