This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch installed: C++ PROTO->PARAMS part1


Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/ChangeLog,v
retrieving revision 1.1547
diff -u -p -r1.1547 ChangeLog
--- ChangeLog	2000/01/26 02:06:20	1.1547
+++ ChangeLog	2000/01/26 20:40:03
@@ -1,3 +1,35 @@
+2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+	* call.c: PROTO -> PARAMS.
+	* class.c: Likewise.
+	* cp-tree.h: Likewise.
+	* cvt.c: Likewise.
+	* decl.c: Likewise.
+	* decl.h: Likewise.
+	* decl2.c: Likewise.
+	* dump.c: Likewise.
+	* errfn.c: Likewise.
+	* error.c: Likewise.
+	* except.c: Likewise.
+	* expr.c: Likewise.
+	* init.c: Likewise.
+	* input.c: Likewise.
+	* lex.c: Likewise.
+	* lex.h: Likewise.
+	* method.c: Likewise.
+	* optimize.c: Likewise.
+	* parse.y: Likewise.
+	* pt.c: Likewise.
+	* repo.c: Likewise.
+	* rtti.c: Likewise.
+	* search.c: Likewise.
+	* semantics.c: Likewise.
+	* spew.c: Likewise.
+	* tree.c: Likewise.
+	* typeck.c: Likewise.
+	* typeck2.c: Likewise.
+	* xref.c: Likewise.
+
 2000-01-25  Richard Henderson  <rth@cygnus.com>
 
 	* typeck.c (build_binary_op_nodefault): Remove UNNE_EXPR.
Index: call.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/call.c,v
retrieving revision 1.190
diff -u -p -r1.190 call.c
--- call.c	2000/01/24 20:10:03	1.190
+++ call.c	2000/01/26 20:40:10
@@ -39,65 +39,65 @@ Boston, MA 02111-1307, USA.  */
 
 extern int inhibit_warnings;
 
-static tree build_new_method_call PROTO((tree, tree, tree, tree, int));
+static tree build_new_method_call PARAMS ((tree, tree, tree, tree, int));
 
-static tree build_field_call PROTO((tree, tree, tree, tree));
-static struct z_candidate * tourney PROTO((struct z_candidate *));
-static int equal_functions PROTO((tree, tree));
-static int joust PROTO((struct z_candidate *, struct z_candidate *, int));
-static int compare_ics PROTO((tree, tree));
-static tree build_over_call PROTO((struct z_candidate *, tree, int));
-static tree convert_like PROTO((tree, tree));
-static void op_error PROTO((enum tree_code, enum tree_code, tree, tree,
+static tree build_field_call PARAMS ((tree, tree, tree, tree));
+static struct z_candidate * tourney PARAMS ((struct z_candidate *));
+static int equal_functions PARAMS ((tree, tree));
+static int joust PARAMS ((struct z_candidate *, struct z_candidate *, int));
+static int compare_ics PARAMS ((tree, tree));
+static tree build_over_call PARAMS ((struct z_candidate *, tree, int));
+static tree convert_like PARAMS ((tree, tree));
+static void op_error PARAMS ((enum tree_code, enum tree_code, tree, tree,
 			    tree, const char *));
-static tree build_object_call PROTO((tree, tree));
-static tree resolve_args PROTO((tree));
+static tree build_object_call PARAMS ((tree, tree));
+static tree resolve_args PARAMS ((tree));
 static struct z_candidate * build_user_type_conversion_1
-	PROTO ((tree, tree, int));
-static void print_z_candidates PROTO((struct z_candidate *));
-static tree build_this PROTO((tree));
-static struct z_candidate * splice_viable PROTO((struct z_candidate *));
-static int any_viable PROTO((struct z_candidate *));
+	PARAMS ((tree, tree, int));
+static void print_z_candidates PARAMS ((struct z_candidate *));
+static tree build_this PARAMS ((tree));
+static struct z_candidate * splice_viable PARAMS ((struct z_candidate *));
+static int any_viable PARAMS ((struct z_candidate *));
 static struct z_candidate * add_template_candidate
-	PROTO((struct z_candidate *, tree, tree, tree, tree, int,
+	PARAMS ((struct z_candidate *, tree, tree, tree, tree, int,
 	       unification_kind_t));
 static struct z_candidate * add_template_candidate_real
-	PROTO((struct z_candidate *, tree, tree, tree, tree, int,
+	PARAMS ((struct z_candidate *, tree, tree, tree, tree, int,
 	       tree, unification_kind_t));
 static struct z_candidate * add_template_conv_candidate 
-        PROTO((struct z_candidate *, tree, tree, tree, tree));
+        PARAMS ((struct z_candidate *, tree, tree, tree, tree));
 static struct z_candidate * add_builtin_candidates
-	PROTO((struct z_candidate *, enum tree_code, enum tree_code,
+	PARAMS ((struct z_candidate *, enum tree_code, enum tree_code,
 	       tree, tree *, int));
 static struct z_candidate * add_builtin_candidate
-	PROTO((struct z_candidate *, enum tree_code, enum tree_code,
+	PARAMS ((struct z_candidate *, enum tree_code, enum tree_code,
 	       tree, tree, tree, tree *, tree *, int));
-static int is_complete PROTO((tree));
+static int is_complete PARAMS ((tree));
 static struct z_candidate * build_builtin_candidate 
-	PROTO((struct z_candidate *, tree, tree, tree, tree *, tree *,
+	PARAMS ((struct z_candidate *, tree, tree, tree, tree *, tree *,
 	       int));
 static struct z_candidate * add_conv_candidate 
-	PROTO((struct z_candidate *, tree, tree, tree));
+	PARAMS ((struct z_candidate *, tree, tree, tree));
 static struct z_candidate * add_function_candidate 
-	PROTO((struct z_candidate *, tree, tree, int));
-static tree implicit_conversion PROTO((tree, tree, tree, int));
-static tree standard_conversion PROTO((tree, tree, tree));
-static tree reference_binding PROTO((tree, tree, tree, int));
-static tree non_reference PROTO((tree));
-static tree build_conv PROTO((enum tree_code, tree, tree));
-static int is_subseq PROTO((tree, tree));
-static int maybe_handle_ref_bind PROTO((tree*, tree*));
-static void maybe_handle_implicit_object PROTO((tree*));
-static struct z_candidate * add_candidate PROTO((struct z_candidate *,
+	PARAMS ((struct z_candidate *, tree, tree, int));
+static tree implicit_conversion PARAMS ((tree, tree, tree, int));
+static tree standard_conversion PARAMS ((tree, tree, tree));
+static tree reference_binding PARAMS ((tree, tree, tree, int));
+static tree non_reference PARAMS ((tree));
+static tree build_conv PARAMS ((enum tree_code, tree, tree));
+static int is_subseq PARAMS ((tree, tree));
+static int maybe_handle_ref_bind PARAMS ((tree*, tree*));
+static void maybe_handle_implicit_object PARAMS ((tree*));
+static struct z_candidate * add_candidate PARAMS ((struct z_candidate *,
 						 tree, tree, int));
-static tree source_type PROTO((tree));
-static void add_warning PROTO((struct z_candidate *, struct z_candidate *));
-static int reference_related_p PROTO ((tree, tree));
-static int reference_compatible_p PROTO ((tree, tree));
-static tree convert_class_to_reference PROTO ((tree, tree, tree));
-static tree direct_reference_binding PROTO ((tree, tree));
-static int promoted_arithmetic_type_p PROTO ((tree));
-static tree conditional_conversion PROTO ((tree, tree));
+static tree source_type PARAMS ((tree));
+static void add_warning PARAMS ((struct z_candidate *, struct z_candidate *));
+static int reference_related_p PARAMS ((tree, tree));
+static int reference_compatible_p PARAMS ((tree, tree));
+static tree convert_class_to_reference PARAMS ((tree, tree, tree));
+static tree direct_reference_binding PARAMS ((tree, tree));
+static int promoted_arithmetic_type_p PARAMS ((tree));
+static tree conditional_conversion PARAMS ((tree, tree));
 
 tree
 build_vfield_ref (datum, type)
Index: class.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/class.c,v
retrieving revision 1.245
diff -u -p -r1.245 class.c
--- class.c	2000/01/25 23:26:21	1.245
+++ class.c	2000/01/26 20:40:21
@@ -41,7 +41,7 @@ Boston, MA 02111-1307, USA.  */
    same.  */
 #define SAME_FN(FN1DECL, FN2DECL) (DECL_ASSEMBLER_NAME (FN1DECL) == DECL_ASSEMBLER_NAME (FN2DECL))
 
-extern void set_class_shadows PROTO ((tree));
+extern void set_class_shadows PARAMS ((tree));
 
 /* The number of nested classes being processed.  If we are not in the
    scope of any class, this is zero.  */
@@ -72,87 +72,87 @@ typedef struct class_stack_node {
 static int current_class_stack_size;
 static class_stack_node_t current_class_stack;
 
-static tree get_vfield_name PROTO((tree));
-static void finish_struct_anon PROTO((tree));
-static tree build_vbase_pointer PROTO((tree, tree));
-static tree build_vtable_entry PROTO((tree, tree));
-static tree get_vtable_name PROTO((tree));
-static tree get_derived_offset PROTO((tree, tree));
-static tree get_basefndecls PROTO((tree, tree));
-static void set_rtti_entry PROTO((tree, tree, tree));
-static void build_vtable PROTO((tree, tree));
-static void prepare_fresh_vtable PROTO((tree, tree));
-static tree dfs_fixup_vtable_deltas PROTO((tree, void *));
-static tree dfs_finish_vtbls PROTO((tree, void *));
-static void finish_vtbls PROTO((tree));
-static void modify_vtable_entry PROTO((tree, tree, tree));
-static tree get_vtable_entry_n PROTO((tree, unsigned HOST_WIDE_INT));
-static void add_virtual_function PROTO((tree *, tree *, int *, tree, tree));
-static tree delete_duplicate_fields_1 PROTO((tree, tree));
-static void delete_duplicate_fields PROTO((tree));
-static void finish_struct_bits PROTO((tree));
-static int alter_access PROTO((tree, tree, tree, tree));
-static void handle_using_decl PROTO((tree, tree));
-static int overrides PROTO((tree, tree));
-static int strictly_overrides PROTO((tree, tree));
-static void merge_overrides PROTO((tree, tree, int, tree));
-static void override_one_vtable PROTO((tree, tree, tree));
-static void mark_overriders PROTO((tree, tree));
-static void check_for_override PROTO((tree, tree));
-static tree dfs_get_class_offset PROTO((tree, void *));
-static tree get_class_offset PROTO((tree, tree, tree, tree));
-static void modify_one_vtable PROTO((tree, tree, tree));
-static tree dfs_modify_vtables PROTO((tree, void *));
-static tree modify_all_vtables PROTO((tree, int *, tree));
-static void determine_primary_base PROTO((tree, int *));
-static void finish_struct_methods PROTO((tree));
-static void maybe_warn_about_overly_private_class PROTO ((tree));
-static int field_decl_cmp PROTO ((const tree *, const tree *));
-static int method_name_cmp PROTO ((const tree *, const tree *));
-static tree add_implicitly_declared_members PROTO((tree, int, int, int));
-static tree fixed_type_or_null PROTO((tree, int *));
-static tree resolve_address_of_overloaded_function PROTO((tree, tree, int,
+static tree get_vfield_name PARAMS ((tree));
+static void finish_struct_anon PARAMS ((tree));
+static tree build_vbase_pointer PARAMS ((tree, tree));
+static tree build_vtable_entry PARAMS ((tree, tree));
+static tree get_vtable_name PARAMS ((tree));
+static tree get_derived_offset PARAMS ((tree, tree));
+static tree get_basefndecls PARAMS ((tree, tree));
+static void set_rtti_entry PARAMS ((tree, tree, tree));
+static void build_vtable PARAMS ((tree, tree));
+static void prepare_fresh_vtable PARAMS ((tree, tree));
+static tree dfs_fixup_vtable_deltas PARAMS ((tree, void *));
+static tree dfs_finish_vtbls PARAMS ((tree, void *));
+static void finish_vtbls PARAMS ((tree));
+static void modify_vtable_entry PARAMS ((tree, tree, tree));
+static tree get_vtable_entry_n PARAMS ((tree, unsigned HOST_WIDE_INT));
+static void add_virtual_function PARAMS ((tree *, tree *, int *, tree, tree));
+static tree delete_duplicate_fields_1 PARAMS ((tree, tree));
+static void delete_duplicate_fields PARAMS ((tree));
+static void finish_struct_bits PARAMS ((tree));
+static int alter_access PARAMS ((tree, tree, tree, tree));
+static void handle_using_decl PARAMS ((tree, tree));
+static int overrides PARAMS ((tree, tree));
+static int strictly_overrides PARAMS ((tree, tree));
+static void merge_overrides PARAMS ((tree, tree, int, tree));
+static void override_one_vtable PARAMS ((tree, tree, tree));
+static void mark_overriders PARAMS ((tree, tree));
+static void check_for_override PARAMS ((tree, tree));
+static tree dfs_get_class_offset PARAMS ((tree, void *));
+static tree get_class_offset PARAMS ((tree, tree, tree, tree));
+static void modify_one_vtable PARAMS ((tree, tree, tree));
+static tree dfs_modify_vtables PARAMS ((tree, void *));
+static tree modify_all_vtables PARAMS ((tree, int *, tree));
+static void determine_primary_base PARAMS ((tree, int *));
+static void finish_struct_methods PARAMS ((tree));
+static void maybe_warn_about_overly_private_class PARAMS ((tree));
+static int field_decl_cmp PARAMS ((const tree *, const tree *));
+static int method_name_cmp PARAMS ((const tree *, const tree *));
+static tree add_implicitly_declared_members PARAMS ((tree, int, int, int));
+static tree fixed_type_or_null PARAMS ((tree, int *));
+static tree resolve_address_of_overloaded_function PARAMS ((tree, tree, int,
 							  int, tree));
-static void build_vtable_entry_ref PROTO((tree, tree, tree));
-static tree build_vtable_entry_for_fn PROTO((tree, tree));
-static tree build_vtbl_initializer PROTO((tree, tree));
-static int count_fields PROTO((tree));
-static int add_fields_to_vec PROTO((tree, tree, int));
-static void check_bitfield_decl PROTO((tree));
-static void check_field_decl PROTO((tree, tree, int *, int *, int *, int *));
-static void check_field_decls PROTO((tree, tree *, int *, int *, int *, 
+static void build_vtable_entry_ref PARAMS ((tree, tree, tree));
+static tree build_vtable_entry_for_fn PARAMS ((tree, tree));
+static tree build_vtbl_initializer PARAMS ((tree, tree));
+static int count_fields PARAMS ((tree));
+static int add_fields_to_vec PARAMS ((tree, tree, int));
+static void check_bitfield_decl PARAMS ((tree));
+static void check_field_decl PARAMS ((tree, tree, int *, int *, int *, int *));
+static void check_field_decls PARAMS ((tree, tree *, int *, int *, int *, 
 				     int *));
-static int avoid_overlap PROTO((tree, tree, int *));
-static tree build_base_field PROTO((tree, tree, int *, int *, unsigned int *));
-static tree build_base_fields PROTO((tree, int *));
-static tree build_vbase_pointer_fields PROTO((tree, int *));
-static tree build_vtbl_or_vbase_field PROTO((tree, tree, tree, tree, int *));
-static void check_methods PROTO((tree));
-static void remove_zero_width_bit_fields PROTO((tree));
-static void check_bases PROTO((tree, int *, int *, int *));
-static void check_bases_and_members PROTO((tree, int *));
-static void create_vtable_ptr PROTO((tree, int *, int *, tree *, tree *));
-static void layout_class_type PROTO((tree, int *, int *, tree *, tree *));
-static void fixup_pending_inline PROTO((struct pending_inline *));
-static void fixup_inline_methods PROTO((tree));
-static void set_primary_base PROTO((tree, int, int *));
-static tree dfs_propagate_binfo_offsets PROTO((tree, void *));
-static void propagate_binfo_offsets PROTO((tree, tree));
-static void layout_basetypes PROTO((tree));
-static void layout_virtual_bases PROTO((tree));
-static void remove_base_field PROTO((tree, tree, tree *));
-static void remove_base_fields PROTO((tree));
-static tree dfs_set_offset_for_shared_vbases PROTO((tree, void *));
-static tree dfs_set_offset_for_unshared_vbases PROTO((tree, void *));
-static tree dfs_build_vbase_offset_vtbl_entries PROTO((tree, void *));
-static tree build_vbase_offset_vtbl_entries PROTO((tree, tree));
-static tree dfs_vcall_offset_queue_p PROTO((tree, void *));
-static tree dfs_build_vcall_offset_vtbl_entries PROTO((tree, void *));
-static tree build_vcall_offset_vtbl_entries PROTO((tree, tree));
-static tree dfs_count_virtuals PROTO((tree, void *));
-static void start_vtable PROTO((tree, int *));
-static void layout_vtable_decl PROTO((tree, int));
-static int num_vfun_entries PROTO((tree));
+static int avoid_overlap PARAMS ((tree, tree, int *));
+static tree build_base_field PARAMS ((tree, tree, int *, int *, unsigned int *));
+static tree build_base_fields PARAMS ((tree, int *));
+static tree build_vbase_pointer_fields PARAMS ((tree, int *));
+static tree build_vtbl_or_vbase_field PARAMS ((tree, tree, tree, tree, int *));
+static void check_methods PARAMS ((tree));
+static void remove_zero_width_bit_fields PARAMS ((tree));
+static void check_bases PARAMS ((tree, int *, int *, int *));
+static void check_bases_and_members PARAMS ((tree, int *));
+static void create_vtable_ptr PARAMS ((tree, int *, int *, tree *, tree *));
+static void layout_class_type PARAMS ((tree, int *, int *, tree *, tree *));
+static void fixup_pending_inline PARAMS ((struct pending_inline *));
+static void fixup_inline_methods PARAMS ((tree));
+static void set_primary_base PARAMS ((tree, int, int *));
+static tree dfs_propagate_binfo_offsets PARAMS ((tree, void *));
+static void propagate_binfo_offsets PARAMS ((tree, tree));
+static void layout_basetypes PARAMS ((tree));
+static void layout_virtual_bases PARAMS ((tree));
+static void remove_base_field PARAMS ((tree, tree, tree *));
+static void remove_base_fields PARAMS ((tree));
+static tree dfs_set_offset_for_shared_vbases PARAMS ((tree, void *));
+static tree dfs_set_offset_for_unshared_vbases PARAMS ((tree, void *));
+static tree dfs_build_vbase_offset_vtbl_entries PARAMS ((tree, void *));
+static tree build_vbase_offset_vtbl_entries PARAMS ((tree, tree));
+static tree dfs_vcall_offset_queue_p PARAMS ((tree, void *));
+static tree dfs_build_vcall_offset_vtbl_entries PARAMS ((tree, void *));
+static tree build_vcall_offset_vtbl_entries PARAMS ((tree, tree));
+static tree dfs_count_virtuals PARAMS ((tree, void *));
+static void start_vtable PARAMS ((tree, int *));
+static void layout_vtable_decl PARAMS ((tree, int));
+static int num_vfun_entries PARAMS ((tree));
 
 /* Variables shared between class.c and call.c.  */
 
Index: cvt.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/cvt.c,v
retrieving revision 1.73
diff -u -p -r1.73 cvt.c
--- cvt.c	2000/01/17 20:18:39	1.73
+++ cvt.c	2000/01/26 20:40:28
@@ -34,9 +34,9 @@ Boston, MA 02111-1307, USA.  */
 #include "toplev.h"
 #include "decl.h"
 
-static tree cp_convert_to_pointer PROTO((tree, tree));
-static tree convert_to_pointer_force PROTO((tree, tree));
-static tree build_up_reference PROTO((tree, tree, int));
+static tree cp_convert_to_pointer PARAMS ((tree, tree));
+static tree convert_to_pointer_force PARAMS ((tree, tree));
+static tree build_up_reference PARAMS ((tree, tree, int));
 
 /* Change of width--truncation and extension of integers or reals--
    is represented with NOP_EXPR.  Proper functioning of many things
Index: decl.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/decl.c,v
retrieving revision 1.537
diff -u -p -r1.537 decl.c
--- decl.c	2000/01/25 18:40:05	1.537
+++ decl.c	2000/01/26 20:40:43
@@ -56,7 +56,7 @@ extern tree static_ctors, static_dtors;
 
 extern tree global_namespace;
 
-extern int (*valid_lang_attribute) PROTO ((tree, tree, tree, tree));
+extern int (*valid_lang_attribute) PARAMS ((tree, tree, tree, tree));
 
 /* Use garbage collection.  */
 
@@ -99,91 +99,91 @@ int ggc_p = 1;
 #define WCHAR_TYPE "int"
 #endif
 
-static tree grokparms				PROTO((tree, int));
-static const char *redeclaration_error_message	PROTO((tree, tree));
+static tree grokparms				PARAMS ((tree, int));
+static const char *redeclaration_error_message	PARAMS ((tree, tree));
 
-static void push_binding_level PROTO((struct binding_level *, int,
+static void push_binding_level PARAMS ((struct binding_level *, int,
 				      int));
-static void pop_binding_level PROTO((void));
-static void suspend_binding_level PROTO((void));
-static void resume_binding_level PROTO((struct binding_level *));
-static struct binding_level *make_binding_level PROTO((void));
-static void declare_namespace_level PROTO((void));
-static void signal_catch PROTO((int)) ATTRIBUTE_NORETURN;
-static void storedecls PROTO((tree));
-static void require_complete_types_for_parms PROTO((tree));
-static void push_overloaded_decl_1 PROTO((tree));
-static int ambi_op_p PROTO((tree));
-static int unary_op_p PROTO((tree));
-static tree store_bindings PROTO((tree, tree));
-static tree lookup_tag_reverse PROTO((tree, tree));
-static tree obscure_complex_init PROTO((tree, tree));
-static tree maybe_build_cleanup_1 PROTO((tree, tree));
-static tree lookup_name_real PROTO((tree, int, int, int));
-static void warn_extern_redeclared_static PROTO((tree, tree));
-static void grok_reference_init PROTO((tree, tree, tree));
-static tree grokfndecl PROTO((tree, tree, tree, tree, int,
+static void pop_binding_level PARAMS ((void));
+static void suspend_binding_level PARAMS ((void));
+static void resume_binding_level PARAMS ((struct binding_level *));
+static struct binding_level *make_binding_level PARAMS ((void));
+static void declare_namespace_level PARAMS ((void));
+static void signal_catch PARAMS ((int)) ATTRIBUTE_NORETURN;
+static void storedecls PARAMS ((tree));
+static void require_complete_types_for_parms PARAMS ((tree));
+static void push_overloaded_decl_1 PARAMS ((tree));
+static int ambi_op_p PARAMS ((tree));
+static int unary_op_p PARAMS ((tree));
+static tree store_bindings PARAMS ((tree, tree));
+static tree lookup_tag_reverse PARAMS ((tree, tree));
+static tree obscure_complex_init PARAMS ((tree, tree));
+static tree maybe_build_cleanup_1 PARAMS ((tree, tree));
+static tree lookup_name_real PARAMS ((tree, int, int, int));
+static void warn_extern_redeclared_static PARAMS ((tree, tree));
+static void grok_reference_init PARAMS ((tree, tree, tree));
+static tree grokfndecl PARAMS ((tree, tree, tree, tree, int,
 			      enum overload_flags, tree,
 			      tree, int, int, int, int, int, int, tree));
-static tree grokvardecl PROTO((tree, tree, RID_BIT_TYPE *, int, int, tree));
-static tree lookup_tag PROTO((enum tree_code, tree,
+static tree grokvardecl PARAMS ((tree, tree, RID_BIT_TYPE *, int, int, tree));
+static tree lookup_tag PARAMS ((enum tree_code, tree,
 			      struct binding_level *, int));
 static void set_identifier_type_value_with_scope
-	PROTO((tree, tree, struct binding_level *));
-static void record_builtin_type PROTO((enum rid, const char *, tree));
-static void record_unknown_type PROTO((tree, const char *));
-static int member_function_or_else PROTO((tree, tree, enum overload_flags));
-static void bad_specifiers PROTO((tree, const char *, int, int, int, int,
+	PARAMS ((tree, tree, struct binding_level *));
+static void record_builtin_type PARAMS ((enum rid, const char *, tree));
+static void record_unknown_type PARAMS ((tree, const char *));
+static int member_function_or_else PARAMS ((tree, tree, enum overload_flags));
+static void bad_specifiers PARAMS ((tree, const char *, int, int, int, int,
 				  int));
-static void lang_print_error_function PROTO((const char *));
-static tree maybe_process_template_type_declaration PROTO((tree, int, struct binding_level*));
-static void check_for_uninitialized_const_var PROTO((tree));
-static unsigned long typename_hash PROTO((hash_table_key));
-static boolean typename_compare PROTO((hash_table_key, hash_table_key));
-static void push_binding PROTO((tree, tree, struct binding_level*));
-static int add_binding PROTO((tree, tree));
-static void pop_binding PROTO((tree, tree));
-static tree local_variable_p_walkfn PROTO((tree *, int *, void *));
-static tree find_binding PROTO((tree, tree));
-static tree select_decl PROTO((tree, int));
-static int lookup_flags PROTO((int, int));
-static tree qualify_lookup PROTO((tree, int));
-static tree record_builtin_java_type PROTO((const char *, int));
-static const char *tag_name PROTO((enum tag_types code));
-static void find_class_binding_level PROTO((void));
-static struct binding_level *innermost_nonclass_level PROTO((void));
-static void warn_about_implicit_typename_lookup PROTO((tree, tree));
-static int walk_namespaces_r PROTO((tree, walk_namespaces_fn, void *));
-static int walk_globals_r PROTO((tree, void *));
-static void add_decl_to_level PROTO((tree, struct binding_level *));
-static tree make_label_decl PROTO((tree, int));
-static void pop_label PROTO((tree));
-static void pop_labels PROTO((tree));
-static void maybe_deduce_size_from_array_init PROTO((tree, tree));
-static void layout_var_decl PROTO((tree));
-static void maybe_commonize_var PROTO((tree));
-static tree check_initializer PROTO((tree, tree));
-static void make_rtl_for_nonlocal_decl PROTO((tree, tree, const char *));
-static void push_cp_function_context PROTO((struct function *));
-static void pop_cp_function_context PROTO((struct function *));
-static void mark_binding_level PROTO((void *));
-static void mark_cp_function_context PROTO((struct function *));
-static void mark_saved_scope PROTO((void *));
-static void mark_lang_function PROTO((struct language_function *));
-static void mark_stmt_tree PROTO((struct stmt_tree *));
-static void save_function_data PROTO((tree));
-static void check_function_type PROTO((tree));
-static void destroy_local_var PROTO((tree));
-static void finish_constructor_body PROTO((void));
-static void finish_destructor_body PROTO((void));
-static tree create_array_type_for_decl PROTO((tree, tree, tree));
-static tree get_atexit_node PROTO((void));
-static tree get_dso_handle_node PROTO((void));
-static tree start_cleanup_fn PROTO((void));
-static void end_cleanup_fn PROTO((void));
+static void lang_print_error_function PARAMS ((const char *));
+static tree maybe_process_template_type_declaration PARAMS ((tree, int, struct binding_level*));
+static void check_for_uninitialized_const_var PARAMS ((tree));
+static unsigned long typename_hash PARAMS ((hash_table_key));
+static boolean typename_compare PARAMS ((hash_table_key, hash_table_key));
+static void push_binding PARAMS ((tree, tree, struct binding_level*));
+static int add_binding PARAMS ((tree, tree));
+static void pop_binding PARAMS ((tree, tree));
+static tree local_variable_p_walkfn PARAMS ((tree *, int *, void *));
+static tree find_binding PARAMS ((tree, tree));
+static tree select_decl PARAMS ((tree, int));
+static int lookup_flags PARAMS ((int, int));
+static tree qualify_lookup PARAMS ((tree, int));
+static tree record_builtin_java_type PARAMS ((const char *, int));
+static const char *tag_name PARAMS ((enum tag_types code));
+static void find_class_binding_level PARAMS ((void));
+static struct binding_level *innermost_nonclass_level PARAMS ((void));
+static void warn_about_implicit_typename_lookup PARAMS ((tree, tree));
+static int walk_namespaces_r PARAMS ((tree, walk_namespaces_fn, void *));
+static int walk_globals_r PARAMS ((tree, void *));
+static void add_decl_to_level PARAMS ((tree, struct binding_level *));
+static tree make_label_decl PARAMS ((tree, int));
+static void pop_label PARAMS ((tree));
+static void pop_labels PARAMS ((tree));
+static void maybe_deduce_size_from_array_init PARAMS ((tree, tree));
+static void layout_var_decl PARAMS ((tree));
+static void maybe_commonize_var PARAMS ((tree));
+static tree check_initializer PARAMS ((tree, tree));
+static void make_rtl_for_nonlocal_decl PARAMS ((tree, tree, const char *));
+static void push_cp_function_context PARAMS ((struct function *));
+static void pop_cp_function_context PARAMS ((struct function *));
+static void mark_binding_level PARAMS ((void *));
+static void mark_cp_function_context PARAMS ((struct function *));
+static void mark_saved_scope PARAMS ((void *));
+static void mark_lang_function PARAMS ((struct language_function *));
+static void mark_stmt_tree PARAMS ((struct stmt_tree *));
+static void save_function_data PARAMS ((tree));
+static void check_function_type PARAMS ((tree));
+static void destroy_local_var PARAMS ((tree));
+static void finish_constructor_body PARAMS ((void));
+static void finish_destructor_body PARAMS ((void));
+static tree create_array_type_for_decl PARAMS ((tree, tree, tree));
+static tree get_atexit_node PARAMS ((void));
+static tree get_dso_handle_node PARAMS ((void));
+static tree start_cleanup_fn PARAMS ((void));
+static void end_cleanup_fn PARAMS ((void));
 
 #if defined (DEBUG_CP_BINDING_LEVELS)
-static void indent PROTO((void));
+static void indent PARAMS ((void));
 #endif
 
 /* Erroneous argument lists can use this *IFF* they do not modify it.  */
@@ -536,7 +536,7 @@ indent ()
 }
 #endif /* defined(DEBUG_CP_BINDING_LEVELS) */
 
-static tree pushdecl_with_scope	PROTO((tree, struct binding_level *));
+static tree pushdecl_with_scope	PARAMS ((tree, struct binding_level *));
 
 static void
 push_binding_level (newlevel, tag_transparent, keep)
@@ -6404,7 +6404,7 @@ tree
 define_function (name, type, pfn, library_name)
      const char *name;
      tree type;
-     void (*pfn) PROTO((tree));
+     void (*pfn) PARAMS ((tree));
      const char *library_name;
 {
   tree decl = build_lang_decl (FUNCTION_DECL, get_identifier (name), type);
@@ -6439,7 +6439,7 @@ builtin_function (name, type, code, clas
      enum built_in_class class;
      const char *libname;
 {
-  tree decl = define_function (name, type, (void (*) PROTO((tree)))pushdecl,
+  tree decl = define_function (name, type, (void (*) PARAMS ((tree)))pushdecl,
 			       libname);
   DECL_BUILT_IN_CLASS (decl) = class;
   DECL_FUNCTION_CODE (decl) = code;
Index: decl.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/decl.h,v
retrieving revision 1.4
diff -u -p -r1.4 decl.h
--- decl.h	1999/09/06 02:43:07	1.4
+++ decl.h	2000/01/26 20:40:43
@@ -1,5 +1,5 @@
 /* Variables and structures for declaration processing.
-   Copyright (C) 1993 Free Software Foundation, Inc.
+   Copyright (C) 1993, 2000 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -31,7 +31,7 @@ enum decl_context
 };
 
 /* We need this in here to get the decl_context definition.  */
-extern tree grokdeclarator			PROTO((tree, tree, enum decl_context, int, tree));
+extern tree grokdeclarator			PARAMS ((tree, tree, enum decl_context, int, tree));
 
 /* Parsing a function declarator leaves a list of parameter names
    or a chain or parameter decls here.  */
Index: decl2.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/decl2.c,v
retrieving revision 1.303
diff -u -p -r1.303 decl2.c
--- decl2.c	2000/01/25 05:53:12	1.303
+++ decl2.c	2000/01/26 20:40:50
@@ -60,36 +60,36 @@ typedef struct priority_info_s {
   int destructions_p;
 } *priority_info;
 
-static tree get_sentry PROTO((tree));
-static void mark_vtable_entries PROTO((tree));
-static void grok_function_init PROTO((tree, tree));
-static int finish_vtable_vardecl PROTO((tree *, void *));
-static int prune_vtable_vardecl PROTO((tree *, void *));
-static int is_namespace_ancestor PROTO((tree, tree));
-static void add_using_namespace PROTO((tree, tree, int));
-static tree ambiguous_decl PROTO((tree, tree, tree,int));
-static tree build_anon_union_vars PROTO((tree, tree*, int, int));
-static int acceptable_java_type PROTO((tree));
-static void output_vtable_inherit PROTO((tree));
-static tree start_objects PROTO((int, int));
-static void finish_objects PROTO((int, int, tree));
-static tree merge_functions PROTO((tree, tree));
-static tree decl_namespace PROTO((tree));
-static tree validate_nonmember_using_decl PROTO((tree, tree *, tree *));
-static void do_nonmember_using_decl PROTO((tree, tree, tree, tree,
+static tree get_sentry PARAMS ((tree));
+static void mark_vtable_entries PARAMS ((tree));
+static void grok_function_init PARAMS ((tree, tree));
+static int finish_vtable_vardecl PARAMS ((tree *, void *));
+static int prune_vtable_vardecl PARAMS ((tree *, void *));
+static int is_namespace_ancestor PARAMS ((tree, tree));
+static void add_using_namespace PARAMS ((tree, tree, int));
+static tree ambiguous_decl PARAMS ((tree, tree, tree,int));
+static tree build_anon_union_vars PARAMS ((tree, tree*, int, int));
+static int acceptable_java_type PARAMS ((tree));
+static void output_vtable_inherit PARAMS ((tree));
+static tree start_objects PARAMS ((int, int));
+static void finish_objects PARAMS ((int, int, tree));
+static tree merge_functions PARAMS ((tree, tree));
+static tree decl_namespace PARAMS ((tree));
+static tree validate_nonmember_using_decl PARAMS ((tree, tree *, tree *));
+static void do_nonmember_using_decl PARAMS ((tree, tree, tree, tree,
 					   tree *, tree *));
-static tree start_static_storage_duration_function PROTO((void));
-static void finish_static_storage_duration_function PROTO((tree));
-static priority_info get_priority_info PROTO((int));
-static void do_static_initialization PROTO((tree, tree));
-static void do_static_destruction PROTO((tree));
-static tree start_static_initialization_or_destruction PROTO((tree, int));
-static void finish_static_initialization_or_destruction PROTO((tree));
-static void generate_ctor_or_dtor_function PROTO((int, int));
+static tree start_static_storage_duration_function PARAMS ((void));
+static void finish_static_storage_duration_function PARAMS ((tree));
+static priority_info get_priority_info PARAMS ((int));
+static void do_static_initialization PARAMS ((tree, tree));
+static void do_static_destruction PARAMS ((tree));
+static tree start_static_initialization_or_destruction PARAMS ((tree, int));
+static void finish_static_initialization_or_destruction PARAMS ((tree));
+static void generate_ctor_or_dtor_function PARAMS ((int, int));
 static int generate_ctor_and_dtor_functions_for_priority
-                                  PROTO((splay_tree_node, void *));
-static tree prune_vars_needing_no_initialization PROTO((tree));
-static void write_out_vars PROTO((tree));
+                                  PARAMS ((splay_tree_node, void *));
+static tree prune_vars_needing_no_initialization PARAMS ((tree));
+static void write_out_vars PARAMS ((tree));
 
 extern int current_class_depth;
 
@@ -489,7 +489,7 @@ int flag_permissive;
 /* If this variable is defined to a non-NULL value, it will be called
    after the file has been completely parsed.  */
 
-void (*back_end_hook) PROTO((tree));
+void (*back_end_hook) PARAMS ((tree));
 
 /* Table of language-dependent -f options.
    STRING is the option name.  VARIABLE is the address of the variable.
@@ -4527,13 +4527,13 @@ struct arg_lookup
   tree functions;
 };
 
-static int arg_assoc         PROTO((struct arg_lookup*, tree));
-static int arg_assoc_args    PROTO((struct arg_lookup*, tree));
-static int arg_assoc_type    PROTO((struct arg_lookup*, tree));
-static int add_function      PROTO((struct arg_lookup *, tree));
-static int arg_assoc_namespace PROTO((struct arg_lookup *, tree));
-static int arg_assoc_class   PROTO((struct arg_lookup *, tree));
-static int arg_assoc_template_arg PROTO((struct arg_lookup*, tree));
+static int arg_assoc         PARAMS ((struct arg_lookup*, tree));
+static int arg_assoc_args    PARAMS ((struct arg_lookup*, tree));
+static int arg_assoc_type    PARAMS ((struct arg_lookup*, tree));
+static int add_function      PARAMS ((struct arg_lookup *, tree));
+static int arg_assoc_namespace PARAMS ((struct arg_lookup *, tree));
+static int arg_assoc_class   PARAMS ((struct arg_lookup *, tree));
+static int arg_assoc_template_arg PARAMS ((struct arg_lookup*, tree));
 
 /* Add a function to the lookup structure.
    Returns 1 on error.  */
Index: dump.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/dump.c,v
retrieving revision 1.31
diff -u -p -r1.31 dump.c
--- dump.c	2000/01/14 05:45:52	1.31
+++ dump.c	2000/01/26 20:40:51
@@ -71,19 +71,19 @@ typedef struct dump_info
   splay_tree nodes;
 } *dump_info_p;
 
-static unsigned int queue PROTO ((dump_info_p, tree, int));
-static void dump_index PROTO ((dump_info_p, unsigned int));
-static void queue_and_dump_index PROTO ((dump_info_p, const char *, tree, int));
-static void queue_and_dump_type PROTO ((dump_info_p, tree));
-static void dequeue_and_dump PROTO ((dump_info_p));
-static void dump_new_line PROTO ((dump_info_p));
-static void dump_maybe_newline PROTO ((dump_info_p));
-static void dump_int PROTO ((dump_info_p, const char *, int));
-static void dump_string PROTO ((dump_info_p, const char *));
-static void dump_string_field PROTO ((dump_info_p, const char *, const char *));
-static void dump_node PROTO ((tree, FILE *));
-static void dump_stmt PROTO ((dump_info_p, tree));
-static void dump_next_stmt PROTO ((dump_info_p, tree));
+static unsigned int queue PARAMS ((dump_info_p, tree, int));
+static void dump_index PARAMS ((dump_info_p, unsigned int));
+static void queue_and_dump_index PARAMS ((dump_info_p, const char *, tree, int));
+static void queue_and_dump_type PARAMS ((dump_info_p, tree));
+static void dequeue_and_dump PARAMS ((dump_info_p));
+static void dump_new_line PARAMS ((dump_info_p));
+static void dump_maybe_newline PARAMS ((dump_info_p));
+static void dump_int PARAMS ((dump_info_p, const char *, int));
+static void dump_string PARAMS ((dump_info_p, const char *));
+static void dump_string_field PARAMS ((dump_info_p, const char *, const char *));
+static void dump_node PARAMS ((tree, FILE *));
+static void dump_stmt PARAMS ((dump_info_p, tree));
+static void dump_next_stmt PARAMS ((dump_info_p, tree));
 
 /* Add T to the end of the queue of nodes to dump.  Returns the index
    assigned to T.  */
Index: errfn.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/errfn.c,v
retrieving revision 1.26
diff -u -p -r1.26 errfn.c
--- errfn.c	1999/08/29 13:47:37	1.26
+++ errfn.c	2000/01/26 20:40:52
@@ -1,5 +1,6 @@
 /* Provide a call-back mechanism for handling error output.
-   Copyright (C) 1993, 94-98, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1993, 94, 95, 96, 97, 98, 99, 2000
+   Free Software Foundation, Inc.
    Contributed by Jason Merrill (jason@cygnus.com)
 
    This file is part of GNU CC.
@@ -30,7 +31,7 @@ Boston, MA 02111-1307, USA.  */
    with all memory management; the functions in this file will not free
    the char*s returned.  See error.c for an example use of this code.  */
 
-typedef const char *cp_printer PROTO((tree, int));
+typedef const char *cp_printer PARAMS ((tree, int));
 extern cp_printer * cp_printers[256];
 
 /* Whether or not we should try to be quiet for errors and warnings; this is
@@ -40,7 +41,7 @@ int cp_silent = 0;
 
 typedef void errorfn ();	/* deliberately vague */
 
-static void cp_thing PROTO ((errorfn *, int, const char *, va_list));
+static void cp_thing PARAMS ((errorfn *, int, const char *, va_list));
 
 #define STRDUP(f) (ap = (char *) alloca (strlen (f) +1), strcpy (ap, (f)), ap)
 
@@ -190,7 +191,7 @@ cp_thing (errfn, atarg1, format, ap)
 }
 
 void
-cp_error VPROTO((const char *format, ...))
+cp_error VPARAMS ((const char *format, ...))
 {
 #ifndef ANSI_PROTOTYPES
   char *format;
@@ -209,7 +210,7 @@ cp_error VPROTO((const char *format, ...
 }
 
 void
-cp_warning VPROTO((const char *format, ...))
+cp_warning VPARAMS ((const char *format, ...))
 {
 #ifndef ANSI_PROTOTYPES
   char *format;
@@ -228,7 +229,7 @@ cp_warning VPROTO((const char *format, .
 }
 
 void
-cp_pedwarn VPROTO((const char *format, ...))
+cp_pedwarn VPARAMS ((const char *format, ...))
 {
 #ifndef ANSI_PROTOTYPES
   char *format;
@@ -247,7 +248,7 @@ cp_pedwarn VPROTO((const char *format, .
 }
 
 void
-cp_compiler_error VPROTO((const char *format, ...))
+cp_compiler_error VPARAMS ((const char *format, ...))
 {
 #ifndef ANSI_PROTOTYPES
   char *format;
@@ -277,7 +278,7 @@ cp_deprecated (msg)
 }
 
 void
-cp_sprintf VPROTO((const char *format, ...))
+cp_sprintf VPARAMS ((const char *format, ...))
 {
 #ifndef ANSI_PROTOTYPES
   char *format;
@@ -295,7 +296,7 @@ cp_sprintf VPROTO((const char *format, .
 }
 
 void
-cp_error_at VPROTO((const char *format, ...))
+cp_error_at VPARAMS ((const char *format, ...))
 {
 #ifndef ANSI_PROTOTYPES
   char *format;
@@ -314,7 +315,7 @@ cp_error_at VPROTO((const char *format, 
 }
 
 void
-cp_warning_at VPROTO((const char *format, ...))
+cp_warning_at VPARAMS ((const char *format, ...))
 {
 #ifndef ANSI_PROTOTYPES
   char *format;
@@ -333,7 +334,7 @@ cp_warning_at VPROTO((const char *format
 }
 
 void
-cp_pedwarn_at VPROTO((const char *format, ...))
+cp_pedwarn_at VPARAMS ((const char *format, ...))
 {
 #ifndef ANSI_PROTOTYPES
   char *format;
Index: error.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/error.c,v
retrieving revision 1.101
diff -u -p -r1.101 error.c
--- error.c	2000/01/06 23:54:34	1.101
+++ error.c	2000/01/26 20:40:53
@@ -1,6 +1,7 @@
 /* Call-backs for C++ error reporting.
    This code is non-reentrant.
-   Copyright (C) 1993, 94-97, 1998, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1993, 94, 95, 96, 97, 98, 99, 2000
+   Free Software Foundation, Inc.
 
    This file is part of GNU CC.
 
@@ -57,44 +58,44 @@ static char *scratch_firstobj;
 
 enum pad { none, before, after };
 
-static const char *args_to_string		PROTO((tree, int));
-static const char *assop_to_string		PROTO((enum tree_code, int));
-static const char *code_to_string		PROTO((enum tree_code, int));
-static const char *cv_to_string			PROTO((tree, int));
-static const char *decl_to_string		PROTO((tree, int));
-static const char *expr_to_string		PROTO((tree, int));
-static const char *fndecl_to_string		PROTO((tree, int));
-static const char *language_to_string		PROTO((enum languages, int));
-static const char *op_to_string			PROTO((enum tree_code, int));
-static const char *parm_to_string		PROTO((int, int));
-static const char *type_to_string		PROTO((tree, int));
-
-static void dump_type PROTO((tree, enum tree_string_flags));
-static void dump_simple_decl PROTO((tree, tree, enum tree_string_flags));
-static void dump_decl PROTO((tree, enum tree_string_flags));
-static void dump_template_decl PROTO((tree, enum tree_string_flags));
-static void dump_function_decl PROTO((tree, enum tree_string_flags));
-static void dump_expr PROTO((tree, enum tree_string_flags));
-static void dump_unary_op PROTO((const char *, tree, enum tree_string_flags));
-static void dump_binary_op PROTO((const char *, tree, enum tree_string_flags));
-static void dump_aggr_type PROTO((tree, enum tree_string_flags));
-static enum pad dump_type_prefix PROTO((tree, enum tree_string_flags));
-static void dump_type_suffix PROTO((tree, enum tree_string_flags));
-static void dump_function_name PROTO((tree, enum tree_string_flags));
-static void dump_expr_list PROTO((tree, enum tree_string_flags));
-static void dump_global_iord PROTO((tree));
-static enum pad dump_qualifiers PROTO((tree, enum pad));
-static void dump_char PROTO((int));
-static void dump_parameters PROTO((tree, enum tree_string_flags));
-static void dump_exception_spec PROTO((tree, enum tree_string_flags));
-static const char *aggr_variety PROTO((tree));
-static tree ident_fndecl PROTO((tree));
-static void dump_template_argument PROTO((tree, enum tree_string_flags));
-static void dump_template_argument_list PROTO((tree, enum tree_string_flags));
-static void dump_template_parameter PROTO((tree, enum tree_string_flags));
-static void dump_template_bindings PROTO((tree, tree));
-static void dump_scope PROTO((tree, enum tree_string_flags));
-static void dump_template_parms PROTO((tree, int, enum tree_string_flags));
+static const char *args_to_string		PARAMS ((tree, int));
+static const char *assop_to_string		PARAMS ((enum tree_code, int));
+static const char *code_to_string		PARAMS ((enum tree_code, int));
+static const char *cv_to_string			PARAMS ((tree, int));
+static const char *decl_to_string		PARAMS ((tree, int));
+static const char *expr_to_string		PARAMS ((tree, int));
+static const char *fndecl_to_string		PARAMS ((tree, int));
+static const char *language_to_string		PARAMS ((enum languages, int));
+static const char *op_to_string			PARAMS ((enum tree_code, int));
+static const char *parm_to_string		PARAMS ((int, int));
+static const char *type_to_string		PARAMS ((tree, int));
+
+static void dump_type PARAMS ((tree, enum tree_string_flags));
+static void dump_simple_decl PARAMS ((tree, tree, enum tree_string_flags));
+static void dump_decl PARAMS ((tree, enum tree_string_flags));
+static void dump_template_decl PARAMS ((tree, enum tree_string_flags));
+static void dump_function_decl PARAMS ((tree, enum tree_string_flags));
+static void dump_expr PARAMS ((tree, enum tree_string_flags));
+static void dump_unary_op PARAMS ((const char *, tree, enum tree_string_flags));
+static void dump_binary_op PARAMS ((const char *, tree, enum tree_string_flags));
+static void dump_aggr_type PARAMS ((tree, enum tree_string_flags));
+static enum pad dump_type_prefix PARAMS ((tree, enum tree_string_flags));
+static void dump_type_suffix PARAMS ((tree, enum tree_string_flags));
+static void dump_function_name PARAMS ((tree, enum tree_string_flags));
+static void dump_expr_list PARAMS ((tree, enum tree_string_flags));
+static void dump_global_iord PARAMS ((tree));
+static enum pad dump_qualifiers PARAMS ((tree, enum pad));
+static void dump_char PARAMS ((int));
+static void dump_parameters PARAMS ((tree, enum tree_string_flags));
+static void dump_exception_spec PARAMS ((tree, enum tree_string_flags));
+static const char *aggr_variety PARAMS ((tree));
+static tree ident_fndecl PARAMS ((tree));
+static void dump_template_argument PARAMS ((tree, enum tree_string_flags));
+static void dump_template_argument_list PARAMS ((tree, enum tree_string_flags));
+static void dump_template_parameter PARAMS ((tree, enum tree_string_flags));
+static void dump_template_bindings PARAMS ((tree, tree));
+static void dump_scope PARAMS ((tree, enum tree_string_flags));
+static void dump_template_parms PARAMS ((tree, int, enum tree_string_flags));
 
 #define A args_to_string
 #define C code_to_string
Index: except.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/except.c,v
retrieving revision 1.94
diff -u -p -r1.94 except.c
--- except.c	2000/01/18 10:23:31	1.94
+++ except.c	2000/01/26 20:40:54
@@ -1,5 +1,6 @@
 /* Handle exceptional things in C++.
-   Copyright (C) 1989, 92-97, 1998, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1989, 92, 93, 94, 95, 96, 97, 98, 99, 2000
+   Free Software Foundation, Inc.
    Contributed by Michael Tiemann <tiemann@cygnus.com>
    Rewritten by Mike Stump <mrs@cygnus.com>, based upon an
    initial re-implementation courtesy Tad Hunt.
@@ -36,24 +37,24 @@ Boston, MA 02111-1307, USA.  */
 #include "toplev.h"
 #include "eh-common.h"
 
-static void push_eh_cleanup PROTO((void));
-static tree build_eh_type_type PROTO((tree));
-static tree call_eh_info PROTO((void));
-static void push_eh_info PROTO((void));
-static tree get_eh_info PROTO((void));
-static tree get_eh_value PROTO((void));
+static void push_eh_cleanup PARAMS ((void));
+static tree build_eh_type_type PARAMS ((tree));
+static tree call_eh_info PARAMS ((void));
+static void push_eh_info PARAMS ((void));
+static tree get_eh_info PARAMS ((void));
+static tree get_eh_value PARAMS ((void));
 #if 0
-static tree get_eh_type PROTO((void));
-static tree get_eh_caught PROTO((void));
-static tree get_eh_handlers PROTO((void));
+static tree get_eh_type PARAMS ((void));
+static tree get_eh_caught PARAMS ((void));
+static tree get_eh_handlers PARAMS ((void));
 #endif
-static tree do_pop_exception PROTO((void));
-static tree build_eh_type_type_ref PROTO((tree));
-static tree build_terminate_handler PROTO((void));
-static tree alloc_eh_object PROTO((tree));
-static int complete_ptr_ref_or_void_ptr_p PROTO((tree, tree));
-static void initialize_handler_parm PROTO((tree));
-static tree expand_throw PROTO((tree));
+static tree do_pop_exception PARAMS ((void));
+static tree build_eh_type_type_ref PARAMS ((tree));
+static tree build_terminate_handler PARAMS ((void));
+static tree alloc_eh_object PARAMS ((tree));
+static int complete_ptr_ref_or_void_ptr_p PARAMS ((tree, tree));
+static void initialize_handler_parm PARAMS ((tree));
+static tree expand_throw PARAMS ((tree));
 
 #if 0
 /* This is the startup, and finish stuff per exception table.  */
Index: expr.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/expr.c,v
retrieving revision 1.39
diff -u -p -r1.39 expr.c
--- expr.c	2000/01/16 16:59:44	1.39
+++ expr.c	2000/01/26 20:40:55
@@ -32,10 +32,10 @@ Boston, MA 02111-1307, USA.  */
 #include "tm_p.h"
 
 #if 0
-static tree extract_aggr_init PROTO((tree, tree));
-static tree extract_scalar_init PROTO((tree, tree));
+static tree extract_aggr_init PARAMS ((tree, tree));
+static tree extract_scalar_init PARAMS ((tree, tree));
 #endif
-static rtx cplus_expand_expr PROTO((tree, rtx, enum machine_mode,
+static rtx cplus_expand_expr PARAMS ((tree, rtx, enum machine_mode,
 				    enum expand_modifier));
 
 /* Hook used by output_constant to expand language-specific
Index: init.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/init.c,v
retrieving revision 1.163
diff -u -p -r1.163 init.c
--- init.c	2000/01/17 20:18:40	1.163
+++ init.c	2000/01/26 20:40:57
@@ -33,22 +33,22 @@ Boston, MA 02111-1307, USA.  */
 #include "toplev.h"
 #include "ggc.h"
 
-static void expand_aggr_vbase_init_1 PROTO((tree, tree, tree, tree));
-static void construct_virtual_bases PROTO((tree, tree, tree, tree, tree));
-static void expand_aggr_init_1 PROTO((tree, tree, tree, tree, int));
-static void expand_default_init PROTO((tree, tree, tree, tree, int));
-static tree build_vec_delete_1 PROTO((tree, tree, tree, tree, int));
-static void perform_member_init PROTO((tree, tree, tree, int));
-static void sort_base_init PROTO((tree, tree *, tree *));
-static tree build_builtin_delete_call PROTO((tree));
-static int member_init_ok_or_else PROTO((tree, tree, const char *));
-static void expand_virtual_init PROTO((tree, tree));
-static tree sort_member_init PROTO((tree));
-static tree initializing_context PROTO((tree));
-static tree build_java_class_ref PROTO((tree));
-static void expand_cleanup_for_base PROTO((tree, tree));
-static tree get_temp_regvar PROTO((tree, tree));
-static tree dfs_initialize_vtbl_ptrs PROTO((tree, void *));
+static void expand_aggr_vbase_init_1 PARAMS ((tree, tree, tree, tree));
+static void construct_virtual_bases PARAMS ((tree, tree, tree, tree, tree));
+static void expand_aggr_init_1 PARAMS ((tree, tree, tree, tree, int));
+static void expand_default_init PARAMS ((tree, tree, tree, tree, int));
+static tree build_vec_delete_1 PARAMS ((tree, tree, tree, tree, int));
+static void perform_member_init PARAMS ((tree, tree, tree, int));
+static void sort_base_init PARAMS ((tree, tree *, tree *));
+static tree build_builtin_delete_call PARAMS ((tree));
+static int member_init_ok_or_else PARAMS ((tree, tree, const char *));
+static void expand_virtual_init PARAMS ((tree, tree));
+static tree sort_member_init PARAMS ((tree));
+static tree initializing_context PARAMS ((tree));
+static tree build_java_class_ref PARAMS ((tree));
+static void expand_cleanup_for_base PARAMS ((tree, tree));
+static tree get_temp_regvar PARAMS ((tree, tree));
+static tree dfs_initialize_vtbl_ptrs PARAMS ((tree, void *));
 
 /* Set up local variable for this file.  MUST BE CALLED AFTER
    INIT_DECL_PROCESSING.  */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]