summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/method.c3
-rw-r--r--gcc/dwarfout.c2
-rw-r--r--gcc/sched-deps.c2
-rw-r--r--gcc/unwind-dw2-fde.c2
5 files changed, 7 insertions, 6 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 4dffdff322e..6c9408a481a 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2001-05-12 Neil Booth <neil@cat.daikokuya.demon.co.uk>
+
+ * method.c (build_mangled_C99_name): Remove unused prototype.
+
2001-05-12 Alexandre Oliva <aoliva@redhat.com>
* cp-tree.h (ptrmemfunc_vbit_where_t): Declare type.
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index db45fd4ec16..e7d2bbbd665 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 573edcfda5c..7db0def2d69 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 bbd394bd641..ecdf28212ba 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 6f450c59bce..7b6b44a5873 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;
OpenPOWER on IntegriCloud