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/calls.c | |
| parent | bdbcd8c6835393e0db37e0602f435e4d9f798e43 (diff) | |
| download | ppe42-gcc-4e396ed6543c97cceb24dada538938de47398ec8.tar.gz ppe42-gcc-4e396ed6543c97cceb24dada538938de47398ec8.zip | |
* 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/calls.c')
| -rw-r--r-- | gcc/calls.c | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index 2278e888031..6c521910362 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -585,11 +585,11 @@ expand_call (exp, target, ignore) #ifdef ACCUMULATE_OUTGOING_ARGS int initial_highest_arg_in_use = highest_outgoing_arg_in_use; char *initial_stack_usage_map = stack_usage_map; + int old_stack_arg_under_construction; #endif rtx old_stack_level = 0; int old_pending_adj = 0; - int old_stack_arg_under_construction; int old_inhibit_defer_pop = inhibit_defer_pop; rtx call_fusage = 0; register tree p; @@ -723,7 +723,9 @@ expand_call (exp, target, ignore) if (is_integrable) { rtx temp; +#ifdef ACCUMULATE_OUTGOING_ARGS rtx before_call = get_last_insn (); +#endif temp = expand_inline_function (fndecl, actparms, target, ignore, TREE_TYPE (exp), @@ -2319,8 +2321,6 @@ emit_library_call VPROTO((rtx orgfun, int no_queue, enum machine_mode outmode, struct arg *argvec; int old_inhibit_defer_pop = inhibit_defer_pop; rtx call_fusage = 0; - /* Size of the stack reserved for parameter registers. */ - int reg_parm_stack_space = 0; #if defined(ACCUMULATE_OUTGOING_ARGS) && defined(REG_PARM_STACK_SPACE) /* Define the boundary of the register parm stack space that needs to be save, if any. */ @@ -2335,6 +2335,8 @@ emit_library_call VPROTO((rtx orgfun, int no_queue, enum machine_mode outmode, #endif #ifdef REG_PARM_STACK_SPACE + /* Size of the stack reserved for parameter registers. */ + int reg_parm_stack_space = 0; #ifdef MAYBE_REG_PARM_STACK_SPACE reg_parm_stack_space = MAYBE_REG_PARM_STACK_SPACE; #else @@ -2613,7 +2615,9 @@ emit_library_call VPROTO((rtx orgfun, int no_queue, enum machine_mode outmode, register rtx val = argvec[argnum].value; rtx reg = argvec[argnum].reg; int partial = argvec[argnum].partial; +#ifdef ACCUMULATE_OUTGOING_ARGS int lower_bound, upper_bound, i; +#endif if (! (reg != 0 && partial == 0)) { @@ -2817,13 +2821,13 @@ emit_library_call_value VPROTO((rtx orgfun, rtx value, int no_queue, struct arg *argvec; int old_inhibit_defer_pop = inhibit_defer_pop; rtx call_fusage = 0; - /* Size of the stack reserved for parameter registers. */ - int reg_parm_stack_space = 0; rtx mem_value = 0; int pcc_struct_value = 0; int struct_value_size = 0; int is_const; +#ifdef ACCUMULATE_OUTGOING_ARGS int needed; +#endif #if defined(ACCUMULATE_OUTGOING_ARGS) && defined(REG_PARM_STACK_SPACE) /* Define the boundary of the register parm stack space that needs to be @@ -2833,6 +2837,8 @@ emit_library_call_value VPROTO((rtx orgfun, rtx value, int no_queue, #endif #ifdef ACCUMULATE_OUTGOING_ARGS + /* Size of the stack reserved for parameter registers. */ + int reg_parm_stack_space = 0; int initial_highest_arg_in_use = highest_outgoing_arg_in_use; char *initial_stack_usage_map = stack_usage_map; #endif @@ -3184,7 +3190,9 @@ emit_library_call_value VPROTO((rtx orgfun, rtx value, int no_queue, register rtx val = argvec[argnum].value; rtx reg = argvec[argnum].reg; int partial = argvec[argnum].partial; +#ifdef ACCUMULATE_OUTGOING_ARGS int lower_bound, upper_bound, i; +#endif if (! (reg != 0 && partial == 0)) { @@ -3448,7 +3456,9 @@ store_one_arg (arg, argblock, may_be_alloca, variable_size, fndecl, rtx reg = 0; int partial = 0; int used = 0; +#ifdef ACCUMULATE_OUTGOING_ARGS int i, lower_bound, upper_bound; +#endif if (TREE_CODE (pval) == ERROR_MARK) return; |

