1. 25 Jan, 2000 3 commits
  2. 24 Jan, 2000 16 commits
    • Include new cygwin include directories · a1e3399a
      From-SVN: r31595
      Christopher Faylor committed
    • Makefile.in (CXX_FOR_TARGET): Use g++, not xgcc, to invoke the C++ compiler. · 7a53e94b
      	* Makefile.in (CXX_FOR_TARGET): Use g++, not xgcc, to invoke
      	the C++ compiler.
      
      	* lib/g++.exp (g++init): Use g++, not xgcc, to invoke the C++
      	compiler.
      	(tool_option_proc): Fix typo.
      
      From-SVN: r31593
      Mark Mitchell committed
    • ecos.exp (gcsec-1.c): Check the version of the ld on the host, not on the build machine. · 360f2326
      * gcc.dg/special/ecos.exp (gcsec-1.c): Check the version
      of the ld on the host, not on the build machine.
      Also, don't crash if '--help' is not a supported option.
      
      From-SVN: r31592
      Geoff Keating committed
    • rtl.def: Add unordered fp comparisions. · 1eb8759b
              * rtl.def: Add unordered fp comparisions.
              * tree.def: Likewise.
      	* tree.h: Add ISO C 9x unordered fp comparision builtins.
      
      	* builtins.c (expand_tree_builtin): New function.
      	* c-typeck.c (build_function_call): Use it.
      	(build_binary_op): Support unordered compares.
      	* c-common.c (c_common_nodes_and_builtins): Add unordered compares.
      
      	* combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
      	(reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
      	* cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
      	(record_jump_equiv): Handle reverse_condition returning UNKNOWN.
      	* jump.c (reverse_condition): Don't abort for UNLE etc, but
      	return UNKNOWN.
      	(swap_condition): Handle unordered compares.
      	(thread_jumps): Check can_reverse before reversing.
      	* loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
      	reversed for FP.
      
      	* optabs.c (can_compare_p): New argument CODE.  Verify branch or
      	setcc is present before acking for cmp_optab.  Update all callers.
      	(prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
      	* expmed.c (do_cmp_and_jump): Update for can_compare_p.
      	* expr.c (expand_expr): Likewise.  Support unordered compares.
      	(do_jump, do_store_flag): Likewise.
      	* expr.h (enum libfunc_index): Add unordered compares.
      
      	* Makefile.in (FPBIT_FUNCS): Add _unord_sf.
      	(DPBIT_FUNCS): Add _unord_df.
      	* config/fp-bit.c (_unord_f2): New.
      	* fp-test.c (main): Try unordered compare builtins.
      
      	* alpha-protos.h (alpha_fp_comparison_operator): Declare.
      	* alpha.c (alpha_comparison_operator): Check mode properly.
      	(alpha_swapped_comparison_operator): Likewise.
      	(signed_comparison_operator): Likewise.
      	(alpha_fp_comparison_operator): New.
      	(alpha_emit_conditional_branch): Handle unordered compares.
      	* alpha.h (PREDICATE_CODES): Update.
      	* alpha.md (fp compares): Use alpha_fp_comparison_operator.
      	(bunordered, bordered): New.
      
      	* cp/call.c (build_over_call): Use expand_tree_builtin.
      	* cp/typeck.c (build_function_call_real): Likewise.
      	(build_binary_op_nodefault): Handle unordered compares.
      
      	* gcc.c-torture/execute/ieee/fp-cmp-4.c: New.
      
      From-SVN: r31591
      Richard Henderson committed
    • alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation. · d6cde845
              * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
              * alpha.md (movtf): New expander, insn, and splitter.
      
      From-SVN: r31589
      Richard Henderson committed
    • reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of dead registers. · eedf2f55
      
      	* reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
      	dead registers.
      
      From-SVN: r31588
      Jan Hubicka committed
    • 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
  3. 23 Jan, 2000 11 commits
  4. 22 Jan, 2000 10 commits