Commit 07167a18 by Jan van Male Committed by Andreas Jaeger

regmove.c (replace_in_call_usage): Fix warnings.

2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>

	* regmove.c (replace_in_call_usage): Fix warnings.
	* sched-deps.c (add_dependence): Fix warnings.
	* simplify-rtx.c (simplify_subreg): Likewise.
	Return NULL_RTX instead of NULL.

	* reg-stack.c (emit_swap_insn): Eliminate warnings.
	(subst_asm_stack_regs): Likewise.

	* combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
	warnings.

	* dwarf2out.c (output_call_frame_info): Declare i as int.
	(build_abbrev_table): Declare n_alloc as int.
	(dwarf2out_finish): Initialize die.
	* except.c: Declare sjlj_funcdef_number as unsigned.
	(connect_post_landing_pads): Declare j as unsigned.
	(convert_to_eh_region_ranges): Initialize call_site.
	(output_function_exception_table): Initialize tt_format_size.
	* expr.c (move_by_pieces_1): Initialize to1.
	(store_constructor): Initialize minelt and maxelt.
	* flow.c (mark_regs_live_at_end): Declare i as unsigned.
	* function.c (instantiate_decls): Avoid signed/unsigned warning.

	* c-decl.c (combine_parm_decls): Unused, remove.
	* c-tree.h: Remove prototype for combine_parm_decls.

	* reload.c (push_reload): Fix warning.
	(regno_clobbered_p): Likewise.
	* reload1.c (replace_pseudos_in_call_usage): Likewise.
	(reload_combine): Likewise.

	* bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
	* bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
	warnings.
	* bitmap.c (bitmap_operation): Change user.
	* bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.

For cp/:
2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>

	* call.c (build_op_delete_call): Initialize fn.
	(convert_like_real): Delete conditional.
	(joust): Initialize *w and *l.
	* class.c: Add prototype for binfo_ctor_vtable.
	(get_primary_binfo): Initialize result.
	* init.c (build_java_class_ref): Initialize name.

	* typeck.c (unary_complex_lvalue): Do not duplicate the
	argument to modify, pre-, or post-increment when used as an
	lvalue and when the argument has side-effects.

For ch/:
2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>

	* ch-tree.h: Remove prototype for combine_parm_decls, unused
	function.

From-SVN: r43894
parent ae0ed63a
2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
* regmove.c (replace_in_call_usage): Fix warnings.
* sched-deps.c (add_dependence): Fix warnings.
* simplify-rtx.c (simplify_subreg): Likewise.
Return NULL_RTX instead of NULL.
* reg-stack.c (emit_swap_insn): Eliminate warnings.
(subst_asm_stack_regs): Likewise.
* combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
warnings.
* dwarf2out.c (output_call_frame_info): Declare i as int.
(build_abbrev_table): Declare n_alloc as int.
(dwarf2out_finish): Initialize die.
* except.c: Declare sjlj_funcdef_number as unsigned.
(connect_post_landing_pads): Declare j as unsigned.
(convert_to_eh_region_ranges): Initialize call_site.
(output_function_exception_table): Initialize tt_format_size.
* expr.c (move_by_pieces_1): Initialize to1.
(store_constructor): Initialize minelt and maxelt.
* flow.c (mark_regs_live_at_end): Declare i as unsigned.
* function.c (instantiate_decls): Avoid signed/unsigned warning.
* c-decl.c (combine_parm_decls): Unused, remove.
* c-tree.h: Remove prototype for combine_parm_decls.
* reload.c (push_reload): Fix warning.
(regno_clobbered_p): Likewise.
* reload1.c (replace_pseudos_in_call_usage): Likewise.
(reload_combine): Likewise.
* bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
* bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
warnings.
* bitmap.c (bitmap_operation): Change user.
* bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
2001-07-10 Eric Christopher <echristo@redhat.com> 2001-07-10 Eric Christopher <echristo@redhat.com>
* config/mips/mips.c (override_options): Fix typo. * config/mips/mips.c (override_options): Fix typo.
......
2001-07-09 Erik Rozendaal <dlr@acm.org> 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
* call.c (build_op_delete_call): Initialize fn.
(convert_like_real): Delete conditional.
(joust): Initialize *w and *l.
* class.c: Add prototype for binfo_ctor_vtable.
(get_primary_binfo): Initialize result.
* init.c (build_java_class_ref): Initialize name.
* typeck.c (unary_complex_lvalue): Do not duplicate the * typeck.c (unary_complex_lvalue): Do not duplicate the
argument to modify, pre-, or post-increment when used as an argument to modify, pre-, or post-increment when used as an
...@@ -186,14 +193,14 @@ ...@@ -186,14 +193,14 @@
* Make-lang.in (cp/call.o): Depend on diagnostic.h * Make-lang.in (cp/call.o): Depend on diagnostic.h
(cp/typeck.o): Depend on diagnostic.h (cp/typeck.o): Depend on diagnostic.h
(cp/typeck2.o): Depend on diagnostic.h (cp/typeck2.o): Depend on diagnostic.h
(cp/repo.o): Depend on dignostic.h (cp/repo.o): Depend on dignostic.h
* typeck.c: #include diagnostic.h * typeck.c: #include diagnostic.h
(convert_for_initialization): Remove extern declaration for (convert_for_initialization): Remove extern declaration for
warningcount and errorcount. warningcount and errorcount.
* call.c: #include diagnostic.h * call.c: #include diagnostic.h
(convert_like_real): Remove extern declaration for warnincount and (convert_like_real): Remove extern declaration for warnincount and
errorcount. errorcount.
* repo.c: #include diagnostic.h * repo.c: #include diagnostic.h
* typeck2.c: #include diagnostic.h * typeck2.c: #include diagnostic.h
...@@ -244,9 +251,9 @@ ...@@ -244,9 +251,9 @@
* method.c (make_thunk, build_vtable_entry): Adjust. * method.c (make_thunk, build_vtable_entry): Adjust.
* class.c (update_vtable_entry_for_fn): Only look as far as the * class.c (update_vtable_entry_for_fn): Only look as far as the
first defining class. first defining class.
(build_vtbl_initializer): Put nothing in the slot for a function only (build_vtbl_initializer): Put nothing in the slot for a function only
defined in a lost primary virtual base. defined in a lost primary virtual base.
(add_vcall_offset_vtbl_entries_1): Use the same code for (add_vcall_offset_vtbl_entries_1): Use the same code for
the lost primary case and the normal case. the lost primary case and the normal case.
(dfs_unshared_virtual_bases): Don't lose a non-virtual primary base. (dfs_unshared_virtual_bases): Don't lose a non-virtual primary base.
(get_vfield_offset, get_derived_offset): Lose. (get_vfield_offset, get_derived_offset): Lose.
...@@ -443,7 +450,7 @@ ...@@ -443,7 +450,7 @@
2001-05-17 Mark Mitchell <mark@codesourcery.com> 2001-05-17 Mark Mitchell <mark@codesourcery.com>
* except.c (cp_protect_cleanup_actions): New function. * except.c (cp_protect_cleanup_actions): New function.
(init_exception_processing): Don't set protect_cleanup_actions (init_exception_processing): Don't set protect_cleanup_actions
here. Do set lang_protect_cleanup_actions. here. Do set lang_protect_cleanup_actions.
2001-05-16 Nathan Sidwell <nathan@codesourcery.com> 2001-05-16 Nathan Sidwell <nathan@codesourcery.com>
...@@ -509,7 +516,7 @@ ...@@ -509,7 +516,7 @@
pfn_vflag_identifier. pfn_vflag_identifier.
(build_ptrmemfunc_type): When FUNCTION_BOUNDARY < 16, add (build_ptrmemfunc_type): When FUNCTION_BOUNDARY < 16, add
an extra field to the type. an extra field to the type.
* expr.c (cplus_expand_constant): Pass 'flag' between * expr.c (cplus_expand_constant): Pass 'flag' between
expand_ptrmemfunc_cst and build_ptrmemfunc1. expand_ptrmemfunc_cst and build_ptrmemfunc1.
* typeck.c (get_member_function_from_ptrfunc): When * typeck.c (get_member_function_from_ptrfunc): When
FUNCTION_BOUNDARY < 16, look at additional field to determine FUNCTION_BOUNDARY < 16, look at additional field to determine
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment