dwarfout.c (dwarfout_init): Add cast.

* 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
This commit is contained in:
Neil Booth 2001-05-12 16:16:23 +00:00 committed by Neil Booth
parent 800914c30a
commit 90e0c41055
5 changed files with 7 additions and 6 deletions

View 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.

View 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 *));

View 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);

View 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++)
{

View 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;