diff options
author | robertl <robertl@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-02-13 05:30:56 +0000 |
---|---|---|
committer | robertl <robertl@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-02-13 05:30:56 +0000 |
commit | 4e396ed6543c97cceb24dada538938de47398ec8 (patch) | |
tree | 3526ac5c2b4e5a8ca2addb0ad5ca8a7fc398448e /gcc/reg-stack.c | |
parent | bdbcd8c6835393e0db37e0602f435e4d9f798e43 (diff) | |
download | gcc-4e396ed6543c97cceb24dada538938de47398ec8.tar.gz |
* c-lang.c (finish_file): Bracket declaration of static_ctors,
static_dtors.
* calls.c (expand_call): Bracket declaration of 'rtx_before_call',
'old_stack_arg_under_construction'
(emit_library_call): Bracket declaration of 'upper_bound',
'lower_bound', 'i', 'reg_parm_stack_space'
(emit_library_call_value): Likewise.
(store_one_arg):
* collect2.c: include <unistd.h> when appropriate.
Bracket declaration of 'exportf' and 'full_real_ld_suffix'.
* emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'.
* explow.c (plus_constant_for_output_wide): Remove unused variable
'code'.
(memory_address): Remove unused variable 'orig_x'.
* genattrtab.c (make_canonical): Remove unreferenced label 'cond:'.
(write_const_num_delay_slots): Remove unused variable 'i'.
* genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'.
(gen_insn): Remove unused variable 'obstack_ptr'.
* libgcc2.c (__bb_exit_func): Remove unused variables 'ret',
'j', 'tmp', 'i'.
(__bb_exit_trace_func): Remove unused variable 'e'.
* optabs.c (expand_binop): remove unused variables 'lhs', 'rhs',
'funexp'.
(expand_unop): Remove unused variable 'funexp'.
(expand_complex_abs): Remove unused variable 'funexp'.
(init_optabs): Bracket declaration of 'j'.
(init_complex_libfuncs): Deleted. Dead static function.
* profile.c (branch_prob): Remove unused variables 'insn', 'dest'.
* reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths'
(reg_to_stack): 'initialized', 'before_function_beg'
explictly type as ints instead of defaulting.
(emit_swap_insn): Remove unused variable 'i2'.
(compare_for_stack_reg): Remove unused variable 'src_note'.
* rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'.
* sched.c (actual_hazard): Bracket declaration of 'this_cost'.
* stmt.c (add_case_node): Add parens for assignment used as truth.
(all_cases_count): Remove unused variable 'count_high'.
(mark_seen_cases): Remove unused variable 'i'.
(check_for_full_enumeration_handling): Remove unused variable 't'.
Bracket declaration of 'all_values', 'l'.
* tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>.
* varasm.c (assemble_string): Remove unused variable 'i'.
(immed_double_const): Remove unused variable 'in_current_obstack'.
(immed_real_const_1): Likewise.
(output_constant_pool): Remove unreferenced label 'done'.
(output_constant): Remove unused variable 'x'.
* i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not
a string.
* i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used
as truth.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17901 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reg-stack.c')
-rw-r--r-- | gcc/reg-stack.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index 243d74db128..10958d2b650 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -246,7 +246,7 @@ static void record_asm_reg_life PROTO((rtx,stack, rtx *, char **, int, int)); static void record_reg_life_pat PROTO((rtx, HARD_REG_SET *, HARD_REG_SET *, int)); -static void get_asm_operand_length PROTO((rtx, int, int *, int *)); +static void get_asm_operand_lengths PROTO((rtx, int, int *, int *)); static void record_reg_life PROTO((rtx, int, stack)); static void find_blocks PROTO((rtx)); static int uses_reg_or_mem PROTO((rtx)); @@ -370,7 +370,7 @@ reg_to_stack (first, file) CLEAR_HARD_REG_SET (stackentry); { - static initialised; + static int initialised; if (!initialised) { #if 0 @@ -395,7 +395,7 @@ reg_to_stack (first, file) { register RTX_CODE prev_code = BARRIER; register RTX_CODE code; - register before_function_beg = 1; + register int before_function_beg = 1; max_uid = 0; blocks = 0; @@ -1771,7 +1771,6 @@ emit_swap_insn (insn, regstack, reg) if (i1set) { - rtx i2; /* the stack-reg insn prior to I1 */ rtx i1src = *get_true_reg (&SET_SRC (i1set)); rtx i1dest = *get_true_reg (&SET_DEST (i1set)); @@ -2006,7 +2005,7 @@ compare_for_stack_reg (insn, regstack, pat) && SET_DEST (PATTERN (cc0_user)) != pc_rtx && GET_CODE (SET_SRC (PATTERN (cc0_user))) == IF_THEN_ELSE) { - rtx *dest, src_note; + rtx *dest; dest = get_true_reg (&SET_DEST (PATTERN (cc0_user))); |