diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-03-20 19:21:31 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-03-20 19:21:31 +0000 |
commit | 0809af092743ecea75bdd4be0f4218ea04784349 (patch) | |
tree | ccbeb8c4f275846b9aaf9e86072c1f0572291df3 /gcc/function.c | |
parent | 014c8aa90dfca08f0781a9514660fb01b0b0eaf9 (diff) | |
download | gcc-0809af092743ecea75bdd4be0f4218ea04784349.tar.gz |
Warning fixes:
* c-lex.c (yylex): Remove unused variable `bytes'.
* flow.c (print_rtl_with_bb): Cast the return value of alloca.
* function.c (assign_parms): Wrap variable `varargs_setup' in
macro SETUP_INCOMING_VARARGS.
(thread_prologue_and_epilogue_insns): Mark parameter `f' with
ATTRIBUTE_UNUSED.
* local-alloc.c (no_equiv): Likewise for parameter `store'.
* sched.c (schedule_insns): Remove unused variables `insn' and `next'.
* tlink.c (symbol_hash_newfunc, symbol_hash_lookup,
file_hash_newfunc, file_hash_lookup, demangled_hash_newfunc,
demangled_hash_lookup, symbol_push, symbol_pop, file_push,
file_pop, tlink_init, tlink_execute, frob_extension,
obstack_fgets, tfgets, pfgets, freadsym, read_repo_file,
maybe_tweak, recompile_files, read_repo_files,
demangle_new_symbols, scan_linker_output): Add static prototype.
(symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc):
Make the third argument a `hash_table_key'.
* toplev.c (debug_start_source_file): Mark parameter `filename'
with ATTRIBUTE_UNUSED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25871 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c index ac59c210a04..1319fb9bf7c 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -4028,7 +4028,9 @@ assign_parms (fndecl, second_time) /* This is a dummy PARM_DECL that we used for the function result if the function returns a structure. */ tree function_result_decl = 0; +#ifdef SETUP_INCOMING_VARARGS int varargs_setup = 0; +#endif rtx conversion_insns = 0; /* Nonzero if the last arg is named `__builtin_va_alist', @@ -6451,7 +6453,7 @@ contains (insn, vec) void thread_prologue_and_epilogue_insns (f) - rtx f; + rtx f ATTRIBUTE_UNUSED; { int insertted = 0; |