diff options
author | Jan Hubicka <jh@suse.cz> | 2001-02-17 10:55:46 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2001-02-17 09:55:46 +0000 |
commit | b00b2cc23e93e5aca40ce18b1ccd900aa6bc5fe6 (patch) | |
tree | 052cfb2ed0f4cc57308b9ef742f7525717e34850 /gcc | |
parent | 7dc55d50906fe095209eed6a8c8e794415fdabdb (diff) | |
download | gcc-b00b2cc23e93e5aca40ce18b1ccd900aa6bc5fe6.zip gcc-b00b2cc23e93e5aca40ce18b1ccd900aa6bc5fe6.tar.gz gcc-b00b2cc23e93e5aca40ce18b1ccd900aa6bc5fe6.tar.bz2 |
reg-stack.c (stack_def): Make field reg unsigned.
* reg-stack.c (stack_def): Make field reg unsigned.
(remove_regno_note): Unsignetize parameter.
From-SVN: r39794
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/reg-stack.c | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9d8486c..1c1c425 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sat Feb 17 10:52:34 CET 2001 Jan Hubicka <jh@suse.cz> + + * reg-stack.c (stack_def): Make field reg unsigned. + (remove_regno_note): Unsignetize parameter. + 2001-02-16 Jes Sorensen <jes@linuxcare.com> * ia64.c (errata_emit_nops): Add VOIDmode as second argument to diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index 48dd3bd..75ffbed 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -185,7 +185,7 @@ typedef struct stack_def { int top; /* index to top stack element */ HARD_REG_SET reg_set; /* set of live registers */ - char reg[REG_STACK_SIZE]; /* register - stack mapping */ + unsigned char reg[REG_STACK_SIZE];/* register - stack mapping */ } *stack; /* This is used to carry information about basic blocks. It is @@ -239,7 +239,8 @@ static int check_asm_stack_operands PARAMS ((rtx)); static int get_asm_operand_n_inputs PARAMS ((rtx)); static rtx stack_result PARAMS ((tree)); static void replace_reg PARAMS ((rtx *, int)); -static void remove_regno_note PARAMS ((rtx, enum reg_note, int)); +static void remove_regno_note PARAMS ((rtx, enum reg_note, + unsigned int)); static int get_hard_regnum PARAMS ((stack, rtx)); static void delete_insn_for_stacker PARAMS ((rtx)); static rtx emit_pop_insn PARAMS ((rtx, stack, rtx, @@ -841,7 +842,7 @@ static void remove_regno_note (insn, note, regno) rtx insn; enum reg_note note; - int regno; + unsigned int regno; { register rtx *note_link, this; |