- 24 Jan, 2000 10 commits
-
-
* 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. * 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, 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 -
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. * 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, 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 -
From-SVN: r31581
Jeff Law committed -
* 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 -
* 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 -
* config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved... * config/sparc/sol2.h: ... here. From-SVN: r31578
Alexandre Oliva committed
-
- 23 Jan, 2000 11 commits
-
-
2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz> * basic-block.h (struct loops): New field `levels'. * flow.c (flow_loops_level_compute): Traverse all outer loops. (flow_loop_level_compute): Initialise level to 1. (flow_loops_find): Set loops->levels. (flow_loops_dump): Print loops->levels. From-SVN: r31577
Michael Hayes committed -
* libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS. (throw_helper): Iterate over DWARF_FRAME_REGISTERS. From-SVN: r31576
Richard Henderson committed -
* i386.c (dbx_register_map, svr4_dbx_register_map): New. * i386.h (DBX_REGISTER_NUMBER): Use them. * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise. * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise. * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise. * i386/sequent.h: Kill incorrect comment. From-SVN: r31575
Richard Henderson committed -
From-SVN: r31574
Mark Mitchell committed -
* cp-tree.h (__eprintf): Remove declaration. * tree.c (__eprintf): Remove definition. * cp-tree.h (CLASSTYPE_MARKED_N, SET_CLASSTYPE_MARKED_N, CLEAR_CLASSTYPE_MARKED_N): Avoid signed vs. unsigned warnings. From-SVN: r31573
Mark Mitchell committed -
* ggc-page.c (struct page_entry): Make `context_depth' an `unsigned short'. From-SVN: r31572
Mark Mitchell committed -
From-SVN: r31571
Brad Lucier committed -
* cp-tree.h (register_dtor_fn): New function. * decl.c (destroy_local_static): Rename to ... (register_dtor_fn): ... this. Give it external linkage. (expand_static_init): Use it. * decl2.c (do_static_initialization): Likewise, if using __cxa_atexit. (do_static_destruction): Check that __cxa_atexit is not in use. (finish_file): Don't call do_static_destruction if using __cxa_atexit. * typeck.c (convert_arguments): Restore two-message error reporting. From-SVN: r31570
Mark Mitchell committed -
* loop.c (check_dbra_loop): When checking a loop for reversability, check the source of any stores to ensure they don't depend on an initial value. From-SVN: r31569
Clinton Popetz committed -
From-SVN: r31568
Robert Lipe committed -
From-SVN: r31567
Jeff Law committed
-
- 22 Jan, 2000 12 commits
-
-
* include/config.h.in: Rebuilt. * acconfig.h: Add undef for __NO_MATH_INLINES. * configure: Rebuilt. * configure.in: Add test for `g++ -O2 -ffloat-store' bug. From-SVN: r31566
Anthony Green committed -
2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz> * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine. From-SVN: r31565
Michael Hayes committed -
* fixinc/fixincl.c: Move declarations of 'pz_fname' and 'pz_scan' into scope of entire function. Only affects compiles with -DDEBUG. From-SVN: r31564
Zack Weinberg committed -
into .data. From-SVN: r31563
Alan Modra committed -
From-SVN: r31562
Bernd Schmidt committed -
From-SVN: r31561
Jim Wilson committed -
From-SVN: r31560
Jeff Law committed -
* cpphash.c (change_newlines): Delete function. (struct argdata): Delete 'newlines' and 'use_count' fields. (macroexpand): Remove code referencing those fields. From-SVN: r31559
Zack Weinberg committed -
From-SVN: r31558
Zack Weinberg committed -
* loop.c (loops_info): New variable. (loop_optimize): Allocate loops->array and free it on exit. Allocate memory for loops_info and assign to each loop, replacing alloca. (find_and_verify_loops): Do not allocate loops->array. From-SVN: r31556
Michael Hayes committed -
Found with 2.95.2 on x86; already fixed in 2.96. Reported by D.J. Bernstein. From-SVN: r31555
Zack Weinberg committed -
From-SVN: r31554
Zack Weinberg committed
-
- 21 Jan, 2000 7 commits
-
-
* 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 -
From-SVN: r31552
Tom Tromey committed -
From-SVN: r31551
Kaveh Ghazi committed -
* 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 -
* 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 -
From-SVN: r31548
Joern Rennecke committed -
From-SVN: r31547
Jeff Law committed
-