1. 11 Apr, 2000 10 commits
  2. 10 Apr, 2000 17 commits
  3. 09 Apr, 2000 13 commits
    • genrecog.c (pred): Update comparison_operator for the unordered operators. · 3a3677ff
              * genrecog.c (pred): Update comparison_operator for the unordered
              operators.
      
              * config/i386/i386.c (no_comparison_operator): Disallow unordered
              operators.
              (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
              (uno_comparison_operator): New.
              (put_condition_code): Handle UNORDERED/ORDERED.
              (unsigned_comparison): Likewise.
              (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
              (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
              (ix86_expand_fp_compare): Use them.  Take scratch as argument,
              update all callers.  Handle all 8 unordered operators.
              (ix86_expand_setcc): Lose the unordered argument, update all callers.
              (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
              * config/i386/i386.h (PREDICATE_CODES): Update.
              * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
              (ix86_expand_branch, ix86_expand_setcc): Update.
              * config/i386/i386.md (sunordered, sordered): New.
              (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
              (bunordered, bordered): New.
              (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
              (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
              (*fp_jcc_5, *fp_jcc_6, and splitters): New.
      
      From-SVN: r33046
      Richard Henderson committed
    • Strip '*' prefix from label names. · 00fdafef
      From-SVN: r33045
      Philip Blundell committed
    • i386.md (fix_truncsfhi2, [...]): New patterns. · 46d21d2c
      	* i386.md (fix_truncsfhi2, fix_truncdfhi2,
      	fix_truncxfhi2): New patterns.
      	* i386.c (output_fix_trunc): Handle converting to HImode.
      
      From-SVN: r33044
      John Wehle committed
    • * g++.old-deja/g++.abi/cxa_vec.C: New test. · e33c685b
      From-SVN: r33043
      Nathan Sidwell committed
    • vec.cc: Include <new> and <exception>. · b8c1233b
      	* vec.cc: Include <new> and <exception>.
      	(__cxa_vec_ctor): Use __cxa_vec_dtor for cleanup.
      	(__cxa_vec_dtor): Catch dtor exceptions, and rethrow or
      	terminate.
      	(__cxa_vec_delete): Catch dtor exceptions.
      
      From-SVN: r33042
      Nathan Sidwell committed
    • Prepend __ to implementation defined names. · 7e2d2472
      	* inc/typeinfo (type_info): Rename _name to __name.
      	(type_info::type_info): Rename parameter.
      	(type_info::operator==, type_info::operator!=,
      	type_info::before): Likewise.
      	(type_info::is_pointer_p, type_info::is_function_p,
      	type_info::do_catch, type_info::do_upcast): Prepend __. Rename
      	parameters.
      	* inc/cxxabi.h
      	(__fundamental_type_info::__fundamental_type_info) Rename parameters.
      	(__pointer_type_info::__pointer_type_info): Likewise.
      	(__pointer_type_info::is_pointer_p,
      	__pointer_type_info::do_catch): Prepend __. Rename parameters.
      	(__array_type_info::__array_type_info): Rename parameters.
      	(__function_type_info::__function_type_info): Likewise.
      	(__function_type_info::is_function_p): Prepend __.
      	(__enum_type_info::__enum_type_info): Rename parameters.
      	(__pointer_to_member_type_info::__pointer_to_member_type_info):
      	Likewise.
      	(__pointer_to_member_type_info::do_catch): Prepend __. Rename
      	parameters.
      	(__base_class_info::is_virtual_p, is_public_p, offset): Prepend	__.
      	(__class_type_info::__class_type_info): Rename parameters.
      	(__class_type_info::sub_kind): Prepend __. Adjust member names.
      	(__class_type_info::upcast_result,
      	__class_type_info::dyncast_result): Prepend __. Move definition
      	into tinfo.cc.
      	(__class_type_info::do_upcast, __class_type_info::do_catch,
      	__class_type_info::find_public_src,
      	__class_type_info::do_dyncast,
      	__class_type_info::do_find_public_src): Prepend __. Rename
      	parameters.
      	(__si_class_type_info::__si_class_type_info): Rename parameters.
      	(__si_class_type_info::do_upcast, __si_class_type_info::do_dyncast,
      	__si_class_type_info::do_find_public_src): Prepent __. Rename
      	parameters.
      	(__vmi_class_type_info::__vmi_class_type_info): Rename parameters.
      	(__vmi_class_type_info::do_upcast, __vmi_class_type_info::do_dyncast,
      	__vmi_class_type_info::do_find_public_src): Prepent __. Rename
      	parameters.
      	(__dynamic_cast): Rename parameters.
      	* tinfo.cc (type_info::is_pointer_p, type_info::is_function_p,
      	type_info::do_catch, type_info::do_upcast): Prepend __.
      	(contained_p, public_p, virtual_p, contained_public_p,
      	contained_nonpublic_p, contained_nonvirtual_p): Adjust.
      	(__class_type_info::do_catch,
      	__class_type_info::do_upcast): Prepend __. Adjust.
      	(__class_type_info::__upcast_result,
      	__class_type_info::__dyncast_result): Move from inc/cxxabi.h.
      	Adjust.
      	(__class_type_info::find_public_src): Prepend __. Adjust.
      	(__class_type_info::do_find_public_src,
      	__si_class_type_info::do_find_public_src,
      	__vmi_class_type_info::do_find_public_src): Likewise.
      	(__class_type_info::do_dyncast,
      	__si_class_type_info::do_dyncast,
      	__vmi_class_type_info::do_dyncast): Likewise.
      	(__class_type_info::do_upcast,
      	__si_class_type_info::do_upcast,
      	__vmi_class_type_info::do_upcast): Likewise.
      	(__dynamic_cast): Adjust.
      	* tinfo2.cc (__pointer_type_info::is_pointer_p): Prepend __.
      	(__function_type_info::is_function_p): Likewise.
      	(__pointer_type_info::do_catch): Likewise. Adjust.
      	(__pointer_to_member_type_info::do_catch): Likewise. Adjust.
      	(__throw_type_match_rtti_2): Adjust.
      	(__is_pointer): Adjust.
      
      From-SVN: r33041
      Nathan Sidwell committed
    • Daily bump. · c42f056a
      From-SVN: r33040
      Jeff Law committed
    • posix-threads.h (_Jv_MutexUnlock): Replace _JV_NOT_OWNER. · e472b4f9
      2000-04-08  Anthony Green  <green@cygnus.com>
      
      	* include/posix-threads.h (_Jv_MutexUnlock): Replace
      	_JV_NOT_OWNER.
      
      From-SVN: r33039
      Anthony Green committed
    • cp-tree.h (cp_tree_index): Add CPTI_COMPLETE_CTOR_IDENTIFIER. · 9eb71d8c
      	* cp-tree.h (cp_tree_index): Add CPTI_COMPLETE_CTOR_IDENTIFIER.
      	(complete_ctor_identifier): New macro.
      	(special_function_kind): Add sfk_copy_constructor and
      	sfk_assignment_operator.
      	(LOOKUP_HAS_IN_CHARGE): Remove.
      	(cons_up_default_function): Rename to ...
      	(implicitly_declare_fn): ... this.
      	* call.c (build_new_method_call): Add in-charge parameters for
      	constructors here.
      	* class.c (add_implicitly_declared_members): Change parameter name
      	from cant_have_assignment to cant_have_const_assignment.
      	Replace calls to cons_up_default_function to implicitly_declare_fn.
      	* cvt.c (ocp_convert): Use complete_ctor_identifier.
      	* decl.c (initialize_predefined_identifiers): Initialize it.
      	(start_function): Use DECL_CONSTRUCTOR_FOR_VBASE_P instead of
      	complex expression.
      	* init.c (expand_default_init): Don't calculate the in-charge
      	parameter here.
      	(build_new_1): Likewise.
      	* lex.c (cons_up_default_function): Move to method.c.
      	* method.c (synthesize_method): Use DECL_DESTRUCTOR_P.
      	(implicitly_declare_fn): New function.
      	* typeck.c (build_static_cast): Use complete_ctor_identifier.
      	(build_modify_expr): Likewise.
      	* typeck2.c (build_functional_cast): Likewise.
      
      From-SVN: r33038
      Mark Mitchell committed
    • posix-threads.cc (_Jv_MutexLock): Moved back to posix-threads.h. · 568fe067
      2000-04-08  Anthony Green  <green@cygnus.com>
      
      	* posix-threads.cc (_Jv_MutexLock): Moved back to posix-threads.h.
      	(_Jv_MutexUnlock): Ditto.
      	* include/posix-threads.h (_Jv_MutexLock): From posix-threads.cc.
      	(_Jv_MutexUnlock): Ditto.
      
      From-SVN: r33037
      Anthony Green committed
    • StringBuffer.java (ensureCapacity): Don't call Math::max. · bdf2ced9
      2000-04-08  Anthony Green  <green@cygnus.com>
      
      	* java/lang/StringBuffer.java (ensureCapacity): Don't call Math::max.
      	(ensureCapacity_unsynchronized): New private method.
      	(append): Use ensureCapacity_unsynchronized.
      
      From-SVN: r33036
      Anthony Green committed
    • Under the new ABI, constructors don't return `this'. · 3dbc07b6
      	* cp-tree.h (warn_reorder): Declare.
      	(special_function_kind): New enum.
      	(global_base_init_list): Remove declaration.
      	(emit_base_init): Don't return a value.
      	(check_base_init): Don't declare.
      	(is_aggr_typedef): Likewise.
      	* decl.c (check_special_function_return_type): New function.
      	(return_types): Remove.
      	(grokdeclarator): Use check_special_function_return_type.
      	(start_function): Don't initialize ctor_label under the new ABI.
      	(finish_construtor_body): Don't create a corresponding LABEL_STMT.
      	* init.c (begin_init_stmts): Move to top of file.
      	(finish_init_stmts): Likewise.
      	(warn_reorder): Don't declare.
      	(emit_base_init): Don't create a STMT_EXPR here.  Don't return a
      	value.
      	(check_base_init): Remove.
      	(is_aggr_typedef): Likewise.
      	(build_new_1): Don't use the return value of a constructor.
      	* semantics.c (setup_vtbl_ptr): Don't use the return value
      	of emit_base_init.
      	* typeck.c (check_return_expr): Don't magically convert return
      	statements into `return this' in constructors under the new ABI.
      
      From-SVN: r33035
      Mark Mitchell committed
    • Makefile.in: Rebuilt. · 4eaf5996
      	* Makefile.in: Rebuilt.
      	* Makefile.am (awt_java_source_files): Added new files.
      	* java/awt/IllegalComponentStateException.java: New file.
      	* java/awt/ItemSelectable.java: New file.
      	* java/awt/event/WindowEvent.java: Finished.
      	* java/awt/event/TextEvent.java: Finished.
      	* java/awt/event/ContainerEvent.java: New file.
      	* java/awt/Component.java (getX, getY): New methods.
      	* java/awt/event/PaintEvent.java: New file.
      	* java/awt/event/MouseEvent.java: New file.
      	* java/awt/ActiveEvent.java: New file.
      	* java/awt/event/KeyEvent.java: Finished.
      	* java/awt/event/ItemEvent.java: New file.
      	* java/awt/Adjustable.java: New file.
      	* java/awt/event/InputMethodEvent.java: New file.
      	* java/awt/event/InputEvent.java: Finished.
      	* java/awt/event/FocusEvent.java: New file.
      	* java/awt/event/MouseMotionAdapter.java: New file.
      	* java/awt/event/MouseAdapter.java: New file.
      	* java/awt/event/KeyAdapter.java: New file.
      	* java/awt/event/FocusAdapter.java: New file.
      	* java/awt/event/ContainerAdapter.java: New file.
      	* java/awt/event/ComponentEvent.java: Finished.
      	* java/awt/event/AdjustmentEvent.java: New file.
      	* java/awt/event/ComponentAdapter.java: New file.
      	* java/awt/event/ActionEvent.java: Finished.
      	* java/awt/event/MouseMotionListener.java: New file.
      	* java/awt/event/MouseListener.java: New file.
      	* java/awt/event/ItemListener.java: New file.
      	* java/awt/event/InputMethodListener.java: New file.
      	* java/awt/event/ContainerListener.java: New file.
      	* java/awt/event/FocusListener.java: New file.
      	* java/awt/event/ComponentListener.java: New file.
      	* java/awt/event/AWTEventListener.java: New file.
      	* java/awt/event/AdjustmentListener.java: New file.
      
      From-SVN: r33034
      Tom Tromey committed