dwarfout.c (dwarfout_init): Add cast.
authorNeil Booth <neil@cat.daikokuya.demon.co.uk>
Sat, 12 May 2001 16:16:23 +0000 (16:16 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sat, 12 May 2001 16:16:23 +0000 (16:16 +0000)
* 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.

From-SVN: r41996

gcc/cp/ChangeLog
gcc/cp/method.c
gcc/dwarfout.c
gcc/sched-deps.c
gcc/unwind-dw2-fde.c

index 4dffdff..6c9408a 100644 (file)
@@ -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.
index db45fd4..e7d2bbb 100644 (file)
@@ -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 *));
index 573edcf..7db0def 100644 (file)
@@ -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);
index bbd394b..ecdf282 100644 (file)
@@ -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++)
        {
index 6f450c5..7b6b44a 100644 (file)
@@ -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;