- 24 Jan, 2000 7 commits
-
-
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
-
- 20 Jan, 2000 3 commits
-
-
From-SVN: r31546
Richard Henderson committed -
From-SVN: r31545
Jeffrey A Law committed -
From-SVN: r31544
Jeffrey A Law committed
-