1. 16 Aug, 1999 6 commits
  2. 15 Aug, 1999 5 commits
  3. 14 Aug, 1999 6 commits
    • Mumit Khan <khan@xraylith.wisc.edu> · f4ab28e3
              * configure.in: Handle --disable/enable-win32-registry.
              * install.texi: Document --disable/enable-win32-registry.
              * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
              (WIN32_REGISTRY_KEY): New macro.
              * prefix.c: Use to enable/disable win32-specific code.
              (lookup_key): Use versioned key.
              * configure: Regenerate.
              * config.in: Likewise.
      
      From-SVN: r28712
      Mumit Khan committed
    • resolve.cc (_Jv_PrepareClass): Use ClassLoader::resolveClass0. · efc3b511
      1999-08-14  Per Bothner  <per@bothner.com>
      
      	* resolve.cc (_Jv_PrepareClass): Use ClassLoader::resolveClass0.
      	* java/lang/natClass.cc (initializeClass): Likewise.
      	* java/lang/ClassLoader.java (resolveClass0): New static method.
      	(resolveClass): Call resolveClass0.
      	(findSystemClass): No longer static.
      
      From-SVN: r28711
      Per Bothner committed
    • Speed up Koenig lookup. · 2c169bab
      	* decl.c (unqualified_namespace_lookup): Nonstatic.  Add spacep parm
      	to return namespaces we've looked at.
      	* decl2.c (lookup_using_namespace): Likewise.
      	(add_function): Don't call ovl_member.
      	(lookup_arg_dependent): Initialize k.namespaces to the list of
      	namespaces seen in unqualified lookup.
      	* call.c (equal_functions): Move here from tree.c.
      	(joust): Use it to handle duplicate candidates.
      	* tree.c (ovl_member): Use ==.
      
      From-SVN: r28710
      Jason Merrill committed
    • cp-tree.def (DECL_STMT): Make it smaller. · 9188c363
      	* cp-tree.def (DECL_STMT): Make it smaller.
      	* cp-tree.h (lang_decl_flags): Move saved_tree to ...
      	(lang_decl): ... here.  Add next.
      	(DECL_SAVED_TREE): Adjust accordingly.
      	(DECL_IMPLICIT_TYPEDEF_P): New macro.
      	(SET_DECL_IMPLICIT_TYPEDEF_P): Likewise.
      	(DECL_STMT_DECL): Likewise.
      	(create_implicit_typedef): New function.
      	(maybe_push_decl): Likewise.
      	(tsubst_default_argument): New function.
      	(at_function_scope_p): Likewise.
      	(add_decl_stmt): Likewise.
      	(push_permanent_obstack): Likewise.
      	* call.c (convert_default_arg): Use tsubst_default_argument.
      	* class.c (add_method): Use push_permanent_obstack.
      	(build_self_reference): Create a TEMPLATE_DECL for the
      	self-reference, if necessary.
      	* decl.c (pseudo_global_level_p): Only look at the current binding
      	level.
      	(push_binding): Use push_permanent_obstack.
      	(create_implicit_typedef): New function.
      	(pushtag): Use it.
      	(duplicate_decls): Use push_permanent_obstack.
      	(maybe_push_decl): New function.
      	(start_decl): Use it.  Remove dead code.  Use add_decl_stmt.
      	(start_decl_1): Remove dead code.
      	(cp_finish_decl): Remove DECL_STMT handling here.  Don't use
      	pseudo_global_level_p.
      	(grokvardecl): Create DECL_LANG_SPECIFIC for a VAR_DECL in a
      	template.
      	(grokdeclarator): Likewise, for TYPE_DECLs.  Don't use
      	pseudo_global_level_p.
      	* decl2.c (grokfield): Call push_template_decl for a TYPE_DECL in
      	a template.
      	(get_sentry): Use push_permanent_obstack.
      	* dump.c (dequeue_and_dump): Enable DECL_STMT.
      	* except.c (call_eh_info): Use push_permanent_obstack.
      	(build_eh_type_ref): Likewise.
      	(do_pop_exception): Likewise.
      	(expand_eh_spec): Likewise.
      	(alloc_eh_object): Likewise.
      	(expand_throw): Likewise.
      	* init.c (build_java_class_ref): Likewise.
      	* lex.c (get_time_identifier): Likewise.
      	(free_lang_decl_chain): Correct type.
      	(retrofit_lang_decl): Adjust accordingly.
      	(build_lang_field_decl): Likewise.
      	* lex.h (free_lang_decl_chain): Likewise.
      	* parse.y (lang_extdef): Don't use pseudo_global_level_p.
      	* parse.c: Regenerated.
      	* pt.c (tsubst_default_arguments): New function.
      	(retrieve_local_specialization): Likewise.
      	(register_local_specialization): Likewise.
      	(push_template_decl_real): Use DECL_IMPLICIT_TYPEDEF_P.  Just use
      	pseudo_global_level_p to determine whether or not a template is
      	primary.
      	(lookup_template_class): Likewise.  Use create_implicit_typedef.
      	(instantiate_class_template): Call tsubst_default_arguments for
      	member functions, if appropriate.
      	(tsubst_default_argument): New function.
      	(tsubst_decl): Use it.  Change TYPE_DECL handling to match VAR_DECLs.
      	* search.c (at_function_scope_p): New function.
      	* semantics.c (finish_asm_stmt): Use push_permanent_obstack.
      	(finish_label_stmt): Likewise.
      	(add_decl_stmt): New function.
      	(begin_class_definition): Likewise.
      	(finish_typeof): Likewise.
      	* tree.c (copy_template_template_parm): Likewise.
      	(copy_to_permanent): Likewise.
      	(push_permanent_obstack): Define.
      	(mark_addressable): Use it.
      	* typeck.c (mark_addressable): Likewise.
      
      From-SVN: r28709
      Mark Mitchell committed
    • Daily bump. · 0d4255d1
      From-SVN: r28708
      Jeff Law committed
    • cpplib.c (read_line_number): New fn, split out of... · d3a34a0a
      	* cpplib.c (read_line_number): New fn, split out of...
      	(do_line): Here.
      
      From-SVN: r28707
      Jason Merrill committed
  4. 13 Aug, 1999 11 commits
  5. 12 Aug, 1999 11 commits
    • global.c (prune_preferences): Move some invariants out of the inner loop. · ea1637e9
      	* global.c (prune_preferences): Move some invariants out of the
      	inner loop.
      
      From-SVN: r28691
      J"orn Rennecke committed
    • * configure.in (alpha*-dec-osf*): Add osf5. · 7bc69973
      From-SVN: r28690
      Jesse Perry committed
    • javaprims.h (TRUE, FALSE): Redefine as themselves. · cb339d02
      1999-08-12  Alexandre Oliva  <oliva@dcc.unicamp.br>
      
      	* include/javaprims.h (TRUE, FALSE): Redefine as themselves.
      
      From-SVN: r28689
      Alexandre Oliva committed
    • Oops - omitted from previouys delta · 402fd873
      From-SVN: r28688
      Philip Blundell committed
    • rtl.texi: Fix typo. · 305f3003
      Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
      
      	* rtl.texi: Fix typo.
      
      From-SVN: r28686
      Andreas Schwab committed
    • Daily bump. · 355e775c
      From-SVN: r28685
      Jeff Law committed
    • lang-options.h: Add -fms-extensions. · d2c192ad
      	* lang-options.h: Add -fms-extensions.
      	* cp-tree.h: Declare flag_ms_extensions.
      	* decl2.c: Define it.
      	* class.c (instantiate_type): Don't complain about taking the address
      	of a bound member function if -fms-extensions.
      	* typeck.c (build_unary_op): Likewise.
      	* decl.c (grokdeclarator): Or about implicit int.
      	* init.c (resolve_offset_ref): Or about implicit '&'.
      
      From-SVN: r28684
      Jason Merrill committed
    • * invoke.texi (C++ Dialect Options): Add -fms-extensions. · 631cf95d
      From-SVN: r28683
      Jason Merrill committed
    • cp-tree.h (minimal_parse_mode): Remove. · f01b0acb
      	* cp-tree.h (minimal_parse_mode): Remove.
      	(finish_label_stmt): New function.
      	* decl.c (saved_scope): Remove minimal parse mode.
      	(maybe_push_to_top_level): Don't save it.
      	(pop_from_top_level): Don't restore it.
      	(define_label): Split out template-handling code to semantics.c.
      	(start_decl): Don't use minimal_parse_mode.
      	(cp_finish_decl): Likewise.
      	(start_function): Don't increment it.
      	(store_return_init): Don't use it.
      	(finish_function): Don't decrement it.
      	* parse.y (label_colon): Use finish_label_stmt throughout.
      	* parse.c: Regenerated.
      	* pt.c (minimal_parse_mode): Don't define it.
      	(tsubst_expr): Use finish_label_stmt.
      	* semantics.c (finish_label_stmt): New function.
      
      From-SVN: r28682
      Mark Mitchell committed
    • Make-lang.in (CXX_SRCS): Remove sig.c. · cf7cf3d2
      	* Make-lang.in (CXX_SRCS): Remove sig.c.
      	* Makefile.in (CXX_OBJS): Remove sig.o.
      	(sig.o): Remove.
      	* cp-tree.h (CPTI_OPAQUE_TYPE): Remove.
      	(CPTI_SIGNATURE_TYPE): Likewise.
      	(CPTI_SIGTABLE_ENTRY_TYPE): Likewise.
      	(opaque_type_node): Likewise.
      	(signature_type_node): Likewise.
      	(sigtable_entry_type): Likewise.
      	(flag_handle_signatures): Likewise.
      	(lang_type): Remove is_signature, is_signature_pointer,
      	is_signature_reference, has_opaque_typedecls,
      	sigtables_has_been_generated.  Adjust dummy.  Remove signature,
      	signature_pointer_to, signature_reference_to.
      	(IS_SIGNATURE): Remove.
      	(SET_SIGNATURE): Remove.
      	(CLEAR_SIGNATURE): Remove.
      	(IS_SIGNATURE_POINTER): Remove.
      	(IS_SIGNATURE_REFERENCE): Remove.
      	(SIGNATURE_HAS_OPAQUE_TYPEDECLS): Remove.
      	(SIGTABLE_HAS_BEEN_GENERATED): Remove.
      	(CLASSTYPE_SIGNATURE): Remove.
      	(SIGNATURE_TYPE): Remove.
      	(SIGNATURE_METHOD_VEC): Remove.
      	(SIGNATURE_POINTER_TO): Remove.
      	(SIGNATURE_REFERENCE_TO): Remove.
      	(lang_decl_flags): Remove is_default_implementation.  Rename
      	memfunc_pointer_to to saved_tree.
      	(IS_DEFAULT_IMPLEMENTATION): Remove.
      	(DECL_MEMFUNC_POINTER_TO): Remove.
      	(DECL_MEMFUNC_POINTING_TO): Remove.
      	(DECL_SAVED_TREE): Adjust definition.
      	(tag_types): Remove signature_type_node.
      	(SIGNATURE_FIELD_NAME): Remove.
      	(SIGNATURE_FIELD_NAME_FORMAT): Likewise.
      	(SIGNATURE_OPTR_NAME): Likewise.
      	(SIGNATURE_SPTR_NAME): Likewise.
      	(SIGNATURE_POINTER_NAME): Likewise.
      	(SIGNATURE_POINTER_NAME_FORMAT): Likewise.
      	(SIGNATURE_REFERENCE_NAME): Likewise.
      	(SIGNATURE_REFERNECE_NAME_FORMAT): Likewise.
      	(SIGTABLE_PTR_TYPE): Likewise.
      	(SIGTABLE_NAME_FORMAT): Likewise.
      	(SIGTABLE_NAME_FORMAT_LONG): Likewise.
      	(SIGTABLE_TAG_NAME): Likewise.
      	(SIGTABLE_VB_OFF_NAME): Likewise.
      	(SIGTABLE_VT_OFF_NAME): Likewise.
      	(finish_base_specifiers): Change prototype.
      	(build_signature_pointer_type): Remove.
      	(build_signature_reference_type): Remove.
      	(build_signature_pointer_constructor): Remove.
      	(build_signature_method_call): Remove.
      	(build_optr_ref): Likewise.
      	(append_signature_fields): Likewise.
      	(signature_error): Likewise.
      	* call.c (build_this): Remove signature support.
      	(build_over_call): Likewise.
      	(build_new_method_call): Likewise.
      	* class.c (add_implicitly_declared_members): Likewise.
      	(finish_struct_1): Likewise.
      	(finish_struct): Likewise.
      	* cvt.c (cp_convert_to_pointer): Likewise.
      	(convert_to_pointer_force): Likewise.
      	(ocp_convert): Likewise.
      	* decl.c (sigtable_decl_p): Remove.
      	(init_decl_processing): Remove support for signatures.
      	(cp_finish_decl): Likewise.
      	(grokdeclarator): Likewise.
      	(grokparms): Likewise.
      	(xref_tag): Likewise.
      	(start_function): Likewise.
      	(start_method): Likewise.
      	* decl2.c (finish_sigtable_vardecl): Remove.
      	(flag_handle_signatures): Remove.
      	(lang_f_options): Remove handle-signatures.
      	(grokfield): Remove support for signatures.
      	(grokbitfield): Likewise.
      	(finish_file): Likewise.
      	(reparse_absdcl_as_casts): Likewise.
      	* error.c (dump_type_real): Likewise.
      	(dump_function_decl): Likewise.
      	* friend.c (make_friend_class): Likewise.
      	* gxx.gperf: Remove __signature__, signature, __sigof__, sigof.
      	* hash.h: Regenerated.
      	* init.c (build_new_1): Remove support for signatures.
      	* lang-options.h: Remove -fhandle-signatures,
      	-fno-handle-signatures.
      	* lex.c (init_parse): Remove support for signatures.
      	(yyprint): Likewise.
      	* lex.h (rid): Remove RID_SIGNATURE.
      	* method.c (build_decl_overload_real): Remove support for
      	signatures.
      	(hack_identifier): Likewise.
      	* parse.y (base_class): Likewise.
      	(base_class.1): Likewise.
      	(access_specifier): Likewise.
      	* search.c (lookup_member): Likewise.
      	* semantics.c (finish_qualified_object_call_expr): Likewise.
      	(finish_template_type_parm): Likewise.
      	(begin_class_definition): Likewise.
      	(finish_base_specifier): Likewise.
      	* sig.c: Remove.
      	* tree.c (build_cplus_method_type): Remove support for signatures.
      	* typeck.c (require_complete_type): Likewise.
      	(c_sizeof): Likewise.
      	(c_alignof): Likewise.
      	(build_object_ref): Likewise.
      	(build_component_ref): Likewise.
      	(build_indirect_ref): Likewise.
      	(build_c_cast): Likewise.
      	(build_modify_expr): Likewise.
      	(convert_for_initialization): Likewise.
      	* typeck2.c (signature_error): Remove.
      	(store_init_value): Remove support for signatures.
      	(digest_init): Likewise.
      	(build_x_arrow): Likewise.
      	(build_functional_cast): Likewise.
      	* xref.c (GNU_xref_decl): Likewise.
      
      From-SVN: r28681
      Mark Mitchell committed
  6. 11 Aug, 1999 1 commit