From: neil Date: Sat, 12 May 2001 16:16:23 +0000 (+0000) Subject: * dwarfout.c (dwarfout_init): Add cast. X-Git-Tag: upstream/4.9.2~94484 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5f3985d9a3d3570b09c00c8f76088a132ed68b48;p=platform%2Fupstream%2Flinaro-gcc.git * dwarfout.c (dwarfout_init): Add cast. * sched-deps.c (sched_analyze_insn): Remove unused vars. * unwind-dw2-fde.c (_Unwind_Find_FDE): Flag unused parameter so. cp: * method.c (build_mangled_C99_name): Remove unused prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41996 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 4dffdff..6c9408a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2001-05-12 Neil Booth + + * method.c (build_mangled_C99_name): Remove unused prototype. + 2001-05-12 Alexandre Oliva * cp-tree.h (ptrmemfunc_vbit_where_t): Declare type. diff --git a/gcc/cp/method.c b/gcc/cp/method.c index db45fd4..e7d2bbb 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -63,9 +63,6 @@ struct pending_inline *pending_inlines; static void do_build_assign_ref PARAMS ((tree)); static void do_build_copy_constructor PARAMS ((tree)); -#if HOST_BITS_PER_WIDE_INT >= 64 -static void build_mangled_C99_name PARAMS ((int)); -#endif static tree synthesize_exception_spec PARAMS ((tree, tree (*) (tree, void *), void *)); static tree locate_dtor PARAMS ((tree, void *)); static tree locate_ctor PARAMS ((tree, void *)); diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c index 573edcf..7db0def 100644 --- a/gcc/dwarfout.c +++ b/gcc/dwarfout.c @@ -5806,7 +5806,7 @@ dwarfout_init (asm_out_file, main_input_filename) fputc ('\n', asm_out_file); ASM_OUTPUT_PUSH_SECTION (asm_out_file, DEBUG_SECTION); ASM_OUTPUT_LABEL (asm_out_file, DEBUG_BEGIN_LABEL); - output_die (output_compile_unit_die, main_input_filename); + output_die (output_compile_unit_die, (PTR) main_input_filename); ASM_OUTPUT_POP_SECTION (asm_out_file); fputc ('\n', asm_out_file); diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c index bbd394b..ecdf2821 100644 --- a/gcc/sched-deps.c +++ b/gcc/sched-deps.c @@ -1095,7 +1095,7 @@ sched_analyze_insn (deps, x, insn, loop_notes) /* Add dependencies if a scheduling barrier was found. */ if (schedule_barrier_found) { - rtx u, pending, pending_mem; + rtx u; for (i = 0; i < deps->max_reg; i++) { diff --git a/gcc/unwind-dw2-fde.c b/gcc/unwind-dw2-fde.c index 6f450c5..7b6b44a 100644 --- a/gcc/unwind-dw2-fde.c +++ b/gcc/unwind-dw2-fde.c @@ -469,7 +469,7 @@ frame_init (struct object* ob) } fde * -_Unwind_Find_FDE (void *pc, struct dwarf_eh_bases *bases) +_Unwind_Find_FDE (void *pc, struct dwarf_eh_bases *bases ATTRIBUTE_UNUSED) { struct object *ob; size_t lo, hi;