diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-04-17 17:44:50 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-04-17 17:44:50 -0400 |
commit | 1815bfc25fbf311268c47ad1b19b1c0bbef7922d (patch) | |
tree | 0f8f4d5ddd5385ad0f223bb2f69a998921489318 /gcc/reg-stack.c | |
parent | 7ee8a9d536a16c34416eccfc246c156ff4da98b9 (diff) | |
download | gcc-1815bfc25fbf311268c47ad1b19b1c0bbef7922d.zip gcc-1815bfc25fbf311268c47ad1b19b1c0bbef7922d.tar.gz gcc-1815bfc25fbf311268c47ad1b19b1c0bbef7922d.tar.bz2 |
(block_number, BLOCK_NUM, reg_to_stack): Use ints, not shorts to count
blocks.
From-SVN: r4177
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 df63605..cde0ca3 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); |