1. 24 Jan, 2000 10 commits
    • i386.h (FIRST_PSEUDO_REGISTER): Set to 21. · 564d80f4
      	* i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
      	(FIXED_REGISTERS, CALL_USED_REGISTERS,
      	 REG_ALLOC_ORDER): Add frame pointer
      	(FRAME_POINTER_REGNUM): Set to 20
      	(HARD_FRAME_POINTER_REGNUM): New macro.
      	(ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
      	to HARD_FRAME_POINTER.
      	(REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
      	(REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
      	(REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
      	(HI_REGISTER_NAMES): Add "frame".
      	(CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
      	(debug_reg): Handle FRAME_POINTER_REGNUM.
      	(reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
      	GENERAL_REGS and INDEX_REGS.
      	* i386.c (SAVED_REGS_FIRST): new macro.
      	(AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
      	(ix86_decompose_address, memory_address_length): Likewise.
      	(regclass_map): Add frame pointer.
      	(call_insn_operand): Handle frame_pointer_rtx.
      	(reg_no_sp_operand): Likewise.
      	(ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
      	(print_operand, legitimize_pic_address): Fix formating.
      	(ix86_compute_frame_size): Make static, update prototype, new
      	parameters padding1, padding2, use ix86_nsaved_regs, use
      	stack_alignment_needed.
      	(ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
      	to HARD_FRAME_POINTER_REGNUM conversions.
      	(ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
      	(ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
      	(print_reg): Abort on FRAME_POINTER_REGNUM
      
      From-SVN: r31587
      Jan Hubicka committed
    • i386.h (PREDICATE_CODES): Add aligned_operand. · 2247f6ed
      	* i386.h (PREDICATE_CODES): Add aligned_operand.
      	* i386.c (aligned_operand): New function.
      	(ix86_aligned_p): Kill.
      	* i386.md (movhi_1): Emit mov for aligned operands.
      	(promoting peep2s): Use aligned_operand.
      
      From-SVN: r31586
      Jan Hubicka committed
    • cp-tree.h (CPTI_BAD_CAST, [...]): New cp_tree_index values. · 059fa5e7
      	* cp-tree.h (CPTI_BAD_CAST, CPTI_BAD_TYPEID, CPTI_DCAST): New
      	cp_tree_index values.
      	(throw_bad_cast_node, throw_bad_typeid_node, dynamic_cast_node):
      	New global node #defines for them.
      	* rtti.c (call_void_fn): Replace with ...
      	(build_runtime_decl): ... new static function.
      	(throw_bad_cast): Use throw_bad_cast_node and build_runtime_decl.
      	(throw_bad_typeid): Use throw_bad_typeid_node and build_runtime_decl.
      	(build_dynamic_cast_1): Always produce correctly typed result.
      	Explicitly produce type_info addresses. Use dynamic_cast_node.
      	* exception.cc (__throw_bad_cast): Return `void *'.
      	(__throw_bad_typeid): Return `const type_info &'.
      
      From-SVN: r31585
      Nathan Sidwell committed
    • stl_iterator.h: Make it possible to use standard class `iterator'. · f1c9d505
      2000-01-19  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
      
              * stl_iterator.h: Make it possible to use standard class
              `iterator'.
      
      From-SVN: r31584
      Gabriel Dos Reis committed
    • cp-tree.h (get_vtable_decl): Prototype new function. · 1aa4ccd4
      	* cp-tree.h (get_vtable_decl): Prototype new function.
      	* class.c (get_vtable_decl): New function. Broken out from ...
      	(build_vtable): ... here. Use it.
      	* decl2.c (finish_vtable_vardecl): Ignore dummy vtables created
      	by get_vtable_decl.
      
      From-SVN: r31583
      Nathan Sidwell committed
    • cp-tree.h (CPTI_TP_DESC_TYPE, [...]): Remove cp_tree_index enumerations. · db1147b2
      	* cp-tree.h (CPTI_TP_DESC_TYPE, CPTI_ACCESS_MODE_TYPE,
      	CPTI_USER_DESC_TYPE, CPTI_CLASS_DESC_TYPE, CPTI_ATTR_DESC_TYPE,
      	CPTI_PTMF_DESC_TYPE): Remove cp_tree_index enumerations.
      	(CPTI_TI_DESC_TYPE, CPTI_REF_DESC_TYPE, CPTI_ARY_DESC_TYPE,
      	CPTI_ENUM_DESC_TYPE, CPTI_CLASS_DESC_TYPE, CPTI_SI_CLASS_DESC_TYPE,
      	CPTI_VMI_CLASS_DESC_TYPE, CPTI_BASE_DESC_TYPE): New enumerations.
      	(CPTI_TINFO_FN_ID, CPTI_TINFO_FN_TYPE): Rename to ...
      	(CPTI_TINFO_DECL_ID, CPTI_TINFO_DECL_TYPE): ... here.
      	(CPTI_TINFO_VAR_ID): New enumeration.
      	(__tp_desc_type_node, __access_mode_type_node,
      	__bltn_desc_type_node, __user_desc_type_node,
      	__class_desc_type_node, __ptr_desc_type_node,
      	__attr_desc_type_node, __func_desc_type_node,
      	__ptmf_desc_type_node, __ptmd_desc_type_node): Remove #defines.
      	(ti_desc_type_node, bltn_desc_type_node, ptr_desc_type_node,
      	ref_desc_type_node, ary_desc_type_node, func_desc_type_node,
      	enum_desc_type_node, class_desc_type_node,
      	si_class_desc_type_node, vmi_class_desc_type_node,
      	ptmd_desc_type_node, base_desc_type_node): New #defines.
      	(tinfo_fn_id, tinfo_fn_type): Rename to ...
      	(tinfo_decl_id, tinfo_decl_type): ... here. Adjust.
      	(tinfo_var_id): New enumeration.
      	(DECL_TINFO_FN_P): Augment comment.
      	* decl.c (cp_global_trees): Adjust documentation.
      	* rtti.c (init_rtti_processing): Adjust for tinfo_decl_id,
      	tinfo_decl_type and tinfo_var_id.
      	(get_tinfo_decl_dynamic): Adjust for tinfo_decl_type.
      	(build_typeid): Remove unused variable.
      	(get_tinfo_var): Use tinfo_var_id.
      	(tinfo_name): New static function.
      	(get_tinfo_decl): Adjust for tinfo_decl_id and tinfo_decl_type.
      	(tinfo_from_decl): Likewise.
      	(get_base_offset): New static function, broken out of
      	expand_class_desc.
      	(expand_si_desc): Use tinfo_name.
      	(expand_class_desc): Likewise. Lose local static variable.
      	Use base_desc_type_node. Use get_base_offset.
      	(expand_ptr_desc): Use tinfo_name.
      	(expand_attr_desc): Likewise.
      	(expand_generic_desc): Likewise.
      
      	* tinfo.cc (__GXX_ABI_VERSION): Test value and existance.
      	* tinfo.h (__GXX_ABI_VERSION): Test value and existance.
      
      From-SVN: r31582
      Nathan Sidwell committed
    • Daily bump. · e1a86dbb
      From-SVN: r31581
      Jeff Law committed
    • fixfixes.c (fix_char_macro_uses): Correct regular expression to allow underscores in macro names. · 3a2e9dd2
      	* fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
      	expression to allow underscores in macro names.
      	(fix_char_macro_defines): Increment scanning pointer.
      
      From-SVN: r31580
      Zack Weinberg committed
    • osf.h (TARGET_HAS_XFLOATING_LIBS): Define. · 5495cc55
              * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
              * alpha/osf5.h: New file.
              * configure.in (alpha-*-osf5): Add it to tm_file.
      
              * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
      
              * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
              (alpha_emit_xfloating_cvt, function_arg): Declare.
              * alpha.c (alpha_emit_conditional_branch): Call
              alpha_emit_xfloating_compare for TFmode compares.
              (alpha_lookup_xfloating_lib_func): New.
              (alpha_compute_xfloating_mode_arg): New.
              (alpha_emit_xfloating_libcall): New.
              (alpha_emit_xfloating_arith): New.
              (alpha_emit_xfloating_compare): New.
              (alpha_emit_xfloating_cvt): New.
              (print_operand): Add default abort case.
              (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
              * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
              (BIGGEST_ALIGNMENT): Increase to 128 bits.
              (RETURN_IN_MEMORY): True for TF/TCmode.
              (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
              (FUNCTION_ARG): Move to function_arg.
              (FUNCTION_ARG_PASS_BY_REFERENCE): New.
              (ASM_OUTPUT_LONG_DOUBLE): New.
              (ASM_OUTPUT_DOUBLE): Always output bits.
              * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
              (fix_trunctfdi2, floatditf2, floatunsditf2): New.
              (extenddftf2, trunctfdf2): New.
      
      From-SVN: r31579
      Richard Henderson committed
    • sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved... · ac490444
      * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
      * config/sparc/sol2.h: ... here.
      
      From-SVN: r31578
      Alexandre Oliva committed
  2. 23 Jan, 2000 11 commits
  3. 22 Jan, 2000 12 commits
  4. 21 Jan, 2000 7 commits
    • natConstructor.cc (newInstance): Use _Jv_CallAnyMethodA. · 8a922095
      	* java/lang/reflect/natConstructor.cc (newInstance): Use
      	_Jv_CallAnyMethodA.
      	* include/jvm.h: Declare _Jv_CallAnyMethodA.
      	* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Renamed
      	from _Jv_CallNonvirtualMethodA.  Changed interface; overloaded.
      	Include <jni.h>.
      	(COPY): Removed.
      	(invoke): Use _Jv_CallAnyMethodA.
      	(VAL): Redefined.
      	* java/lang/Class.h (Class): Declare JvGetFirstStaticField,
      	JvNumStaticFields, JvNumMethods, and JvGetFirstMethod as friend
      	functions.
      	(struct _Jv_Method): Added getNextMethod method.
      	(JvNumMethods): New function.
      	(JvGetFirstMethod): Likewise.
      	* gcj/field.h (JvGetFirstStaticField): New function.
      	(JvNumStaticFields): Likewise.
      	(getNextField): Renamed from getNextInstanceField.
      	(struct _Jv_Field): New method getClass.
      	* jni.cc: Wrote many new functions.
      	* include/jni.h (JNI_TRUE): Define.
      	(JNI_FALSE): Likewise.
      	(jobject, jclass, jstring, jarray, jthrowable, jobjectArray,
      	jbyteArray, jshortArray, jintArray, jlongArray, jbooleanArray,
      	jcharArray, jfloatArray, jdoubleArray): New typedefs.
      	(jfieldID, jmethodID): Likewise.
      	(JNI_COMMIT, JNI_ABORT): New defines.
      	(JNINativeMethod): New struct.
      	(struct JNINativeInterface): Correctly declared more entries.
      	(class _Jv_JNIEnv): Added `ex' member.
      	(JNI_VERSION_1_1): New define.
      	(JNI_VERSION_1_2): Likewise.
      
      	* boehm.cc (_Jv_MarkObj): Use getNextField, not
      	getNextInstanceField.
      
      From-SVN: r31553
      Tom Tromey committed
    • * libjava.compile/BlankFinal.java: New file. · 24823dcf
      From-SVN: r31552
      Tom Tromey committed
    • Fix typo in ChangeLog · 0a068841
      From-SVN: r31551
      Kaveh Ghazi committed
    • buffer.h: PROTO -> PARAMS. · df32d2ce
              * buffer.h: PROTO -> PARAMS.
              * check-init.c: Likewise.
              * class.c: Likewise.
              * constants.c: Likewise.
              * convert.h: Likewise.
              * decl.c: Likewise.
              * except.c: Likewise.
              * expr.c: Likewise.
              * gjavah.c: Likewise.
              * java-except.h: Likewise.
              * java-tree.h: Likewise.
              * jcf-depend.c: Likewise.
              * jcf-dump.c: Likewise.
              * jcf-parse.c: Likewise.
              * jcf-path.c: Likewise.
              * jcf-reader.c: Likewise.
              * jcf-write.c: Likewise.
              * jcf.h: Likewise.
              * jv-scan.c: Likewise.
              * jvgenmain.c: Likewise.
              * jvspec.c: Likewise.
              * lang.c: Likewise.
              * lex.c: Likewise.
              * lex.h: Likewise.
              * parse-scan.y: Likewise.
              * parse.h: Likewise.
              * parse.y: Likewise.
              * typeck.c: Likewise.
              * verify.c: Likewise.
              * xref.c: Likewise.
              * xref.h: Likewise.
              * zextract.c: Likewise.
              * zipfile.h: Likewise.
      
      From-SVN: r31550
      Kaveh R. Ghazi committed
    • sparc.md (movsi_pic_label_ref): Avoid creating new pseudos if expanded after first flow. · 7652adb5
      	* config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
      	pseudos if expanded after first flow.
      	(movdi_pic_label_ref): Likewise.
      
      From-SVN: r31549
      Jakub Jelinek committed
    • Typo fix. · 57e98261
      From-SVN: r31548
      Joern Rennecke committed
    • Daily bump. · fb0d0f72
      From-SVN: r31547
      Jeff Law committed