- 31 Jan, 2000 16 commits
-
-
* tinfo.h (old abi): #include "tconfig.h". * tinfo.cc (convert_to_base): Move into old abi section. From-SVN: r31725
Jason Merrill committed -
* cp-tree.h (BINFO_VIRTUALS): Tweak documentation. (CLASSTYPE_PRIMARY_BINFO): Use BINFO_PRIMARY_BINFO. (BINFO_PRIMARY_BINFO): New macro. (BF_DELTA): Rename to ... (BV_DELTA): ... this. (BF_VCALL_INDEX): Rename to ... (BV_VCALL_INDEX): ... this. (BF_FN): Rename to ... (BV_FN): ... this. * class.c (build_vbase_path): Adjust for changes to reverse_path. (set_rtti_entry): Rename BF_ macros to BV_ variants. (modify_vtable_entry): Simplify. (add_virtual_function): Rename BF_ macros to BV_ variants. (build_vtable_initializer): Likewise. (get_class_offset_1): Remove. (dfs_get_class_offset): Likewise. (get_class_offset): Likewise. (dfs_find_final_overrider): New function. (find_final_overrider): Likewise. (modify_one_vtable): Remove. (dfs_find_base): New function. (dfs_modify_vtables): Fold modify_one_vtable in here. Use find_final_overrider. (modify_all_vtables): Adjust. Set BV_VCALL_INDEX on new virtuals. (dfs_fixup_vtable_deltas): Remove. (override_one_vtable): Remove. (merge_overrides): Likewise. (layout_virtual_bases): Make sure BINFO_OFFSET is set right for unreal chilren of virtual bases. (finish_struct_1): Don't use merge_overrides. Don't use dfs_fixup_vtable_deltas. * tree.c (reverse_path): Return a TREE_LIST, not a chain of BINFOs. From-SVN: r31724
Mark Mitchell committed -
* jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the new label. From-SVN: r31721
Jason Merrill committed -
* tinfo.h: Rename USItype to myint32, depend on BITS_PER_UNIT. * exception.cc (__throw_bad_typeid): Add missing std::. From-SVN: r31718
Jason Merrill committed -
From-SVN: r31717
Kaveh R. Ghazi committed -
* gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros. * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): PROTO -> PARAMS. From-SVN: r31716
Kaveh R. Ghazi committed -
From-SVN: r31715
Kaveh R. Ghazi committed -
* cp-tree.h (new_abi_rtti_p): Use flag_new_abi. Runtime support for new-abi rtti. * inc/typeinfo (type_info::operator!=): Define in class. (type_info::before, type_info::name, type_info::operator==, type_info::operator!=): Define new ABI implementations. (type_info::is_pointer_p, type_info::is_function_p): Declare new virtual functions. (type_info::do_catch, type_info::do_upcast): Likewise. * tinfo.h (__base_class_info): Define new class. (__class_type_info): Likewise. (__si_class_type_info): Likewise. (__vmi_class_type_info): Likewise. (__dynamic_cast): Prototype. * tinfo.cc: Conditionalize old and new rtti mechanisms. (type_info::is_pointer_p): Define new function. (type_info::is_function_p): Likewise. (type_info::do_catch): Likewise. (type_info::do_upcast): Likewise. (vtable_prefix): New structure for vtable access. (adjust_pointer): Define new template function. (contained_p, public_p, virtual_p, contained_public_p, contained_nonpublic_p, contained_nonvirtual_p): Define new functions. (nonvirtual_base_type): New local variable. (__class_type_info::~__class_type_info): Define. (__si_class_type_info::~__si_class_type_info): Likewise. (__vmi_class_type_info::~__vmi_class_type_info): Likewise. (__class_type_info::do_catch): Define new function. (__class_type_info::do_upcast): Likewise. (__class_type_info::find_public_src): Likewise. (__class_type_info::do_find_public_src): Likewise. (__si_class_type_info::do_find_public_src): Likewise. (__vmi_class_type_info::do_find_public_src): Likewise. (__class_type_info::do_dyncast): Likewise. (__si_class_type_info::do_dyncast): Likewise. (__vmi_class_type_info::do_dyncast): Likewise. (__class_type_info::do_upcast): Likewise. (__si_class_type_info::do_upcast): Likewise. (__vmi_class_type_info::do_upcast): Likewise. (__dynamic_cast): Likewise. * tinfo2.cc (__fundamental_type_info): Define new class. (__pointer_type_info): Likewise. (__reference_type_info): Likewise. (__array_type_info): Likewise. (__function_type_info): Likewise. (__enum_type_info): Likewise. (__ptr_to_member_type_info): Likewise. (__fundamental_type_info::~__fundamental_type_info): Define. (__pointer_type_info::~__pointer_type_info): Likewise. (__reference_type_info::~__reference_type_info): Likewise. (__array_type_info::~__array_type_info): Likewise. (__function_type_info::~__function_type_info): Likewise. (__enum_type_info::~__enum_type_info): Likewise. (__ptr_to_member_type_info::~__ptr_to_member_type_info): Likewise. (__pointer_type_info::do_catch): Define new function. (__ptr_to_member_type_info::do_catch): Define new function. (__throw_type_match_rtti_2): Use new ABI interface, if enabled. (__is_pointer): Likewise. * exception.cc (__cplus_type_matcher): Deal with new-abi rtti. From-SVN: r31713
Nathan Sidwell committed -
* gnu/gcj/convert/natIconv.cc (read): Minor fixes. (write): Ditto. From-SVN: r31712
Anthony Green committed -
From-SVN: r31711
Jeff Law committed -
* i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h, i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h, i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h, i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h, i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h, i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h, i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h, i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h, i386/vxi386.h, i386/win-nt.h, i386/win32.h: Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES. * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h: Add %(cpp_cpu) to CPP_SPEC. * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h: Add %(cc1_cpu) to CC1_SPEC. From-SVN: r31710
Zack Weinberg committed -
* jcf-write.c (generate_bytecode_insns): Use TYPE_IS_WIDE to determine how many stack slots to pop. From-SVN: r31709
Anthony Green committed -
* include/config.h.in: Rebuilt. * acconfig.h (HAVE_ICONV): Define. * configure: Rebuilt. * configure.in: Check for `iconv' function. * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try iconv if no specific encoder exists. * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try iconv if no specific encoder exists. * Makefile.in: Rebuilt. * Makefile.am (convert_source_files): Mention Input_iconv.java and Output_iconv.java. (nat_source_files): Added natIconv.cc. * gnu/gcj/convert/natIconv.cc: New file. * gnu/gcj/convert/Input_iconv.java: New file. * gnu/gcj/convert/Output_iconv.java: New file. From-SVN: r31708
Tom Tromey committed -
* cp/class.c (build_vtable): Rename to build_primary_vtable. (prepare_fresh_vtable): Rename to build_secondary_vtable. (make_new_vtable): New function. (modify_vtable_entry): Handle generation of new vtables correctly. (modify_one_vtable): Remove unused parameter. (dfs_fixup_vtable_deltas): Likewise. (override_one_vtable): Use build_secondary_vtable. (finish_struct_1): Use build_primary_vtable and build_secondary_vtable. From-SVN: r31707
Mark Mitchell committed -
* c-decl.c (c_decode_option): Accept optional numeric argument to -Wformat and set warn_format. * c-common.c: Don't emit warning about non-constant printf format string unless warn_format > 1. From-SVN: r31706
Ulrich Drepper committed -
From-SVN: r31705
Richard Henderson committed
-
- 30 Jan, 2000 8 commits
-
-
* libjava.lang/final_inner.java: New file. * libjava.lang/final_inner.out: Likewise. From-SVN: r31704
Alexandre Petit-Bianco committed -
* i386.c (ix86_compute_frame_size): Omit padding1 if the local frame size is zero. From-SVN: r31703
Richard Henderson committed -
* alpha.c (alpha_expand_epilogue): Don't emit the return insn. * alpha.h (EPILOGUE_USES): New. Mark $26 live. * alpha.md (return): Turn into an expander. (return_internal): Don't use $26. (epilogue): Emit the return insn. From-SVN: r31702
Richard Henderson committed -
* alpha.md (negtf2, abstf2): Fix word order thinko. (extendsftf2): New. (trunctfsf2): Avoid intermediate rounding errors. From-SVN: r31701
Richard Henderson committed -
* cppfiles.c (find_position): Drop 'colp' argument, return the new line base. (read_and_prescan): Adjust to match. Don't ever manipulate line or line_base except via find_position. From-SVN: r31700
Zack Weinberg committed -
From-SVN: r31699
Jeff Law committed -
* c-parse.in: Apply Ulrich's changes from c-parse.y. * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c: Regenerate. From-SVN: r31698
Zack Weinberg committed -
* cpperror.c (cpp_file_line_for_message): If 'line' is zero, just print "<command line>". If 'filename' is null or an empty string, print "<stdin>" for the filename. * cpplib.c (do_define): Don't print the 'location of the previous definition' message if we're still parsing the command line. (cpp_pedwarn_with_file_and_line): Always call cpp_file_line_for_message. From-SVN: r31697
Zack Weinberg committed
-
- 29 Jan, 2000 16 commits
-
-
From-SVN: r31696
Mark Mitchell committed -
2000-01-29 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (formal_parameter:): Set `$$' to NULL_TREE for better error handling/recovery. * java-tree.h (SYNCHRONIZED_EXPR): Fixed typo in comment. Wed Jan 12 20:20:11 2000 Alexandre Petit-Bianco <apbianco@cygnus.com> * jcf-write.c (generate_bytecode_insns): binop: Change the type of the shift value to int. Fixed typo in comment. From-SVN: r31695
Alexandre Petit-Bianco committed -
From-SVN: r31694
Ulrich Drepper committed -
From-SVN: r31693
Ulrich Drepper committed -
From-SVN: r31692
Ulrich Drepper committed -
From-SVN: r31691
Ulrich Drepper committed -
Recognize options with names *99 as well. From-SVN: r31690
Ulrich Drepper committed -
From-SVN: r31689
Ulrich Drepper committed -
From-SVN: r31688
Hans-Peter Nilsson committed -
* new2.cc (operator delete[]): Use operator delete, don't assume implementation. From-SVN: r31687
Nathan Sidwell committed -
* class.c (build_vtbl_initializer): Add argument to build_vtable_entry call. From-SVN: r31686
Nathan Sidwell committed -
From-SVN: r31685
Jeff Law committed -
* cp-tree.def (THUNK_DECL): Discuss vcall indices. * cp-tree.h (BINFO_VIRTUALS): Update documentation. (BF_DELTA): New macro. (BF_VCALL_INDEX): Likewise. (BF_FN): Likewise. (THUNK_VCALL_OFFSET): Likewise. (make_thunk): Change prototype. * class.c (build_vtable_entry): Integrate build_vtable_entry_for_fn. Handle vcall indices. (build_vtable_entry_for_fn): Remove. (set_rtti_entry): Handle vcall indices. Use BF_DELTA, BF_VCALL_INDEX, BF_FN. (modify_vtable_entry): Integrate common code from modify_one_vtable and dfs_fixup_vtable_deltas. (add_virtual_function): Set BF_VCALL_INDEX. (build_vtbl_initializer): Simplify. Use BF_DELTA, BF_VCALL_INDEX, and BF_FN. (modify_one_vtable): Simplify. (dfs_fixup_vtable_deltas): Likewise. (override_one_vtable): Use BF_DELTA, BF_VCALL_INDEX, BF_FN. * method.c (make_thunk): Handle vcall indices. From-SVN: r31684
Mark Mitchell committed -
2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries. * c4x.c: Define the optab rtx values. (c4x_add_gc_roots): Add the ggc roots for these optab rtx values. (c4x_emit_libcall): Use new optab rtx values. (c4x_emit_libcall3): Likewise. (c4x_emit_libcall_mulhi): Likewise. * c4x-protos.h: Add prototypes for optab rtx values and change prototypes for above c4x_emit_libcall functions. From-SVN: r31683
Herman A.J. ten Brugge committed -
2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> * c4x.c (c4x_output_ascii): Restrict line length of output when TI syntax is used. (c4x_function_prologue): Use regnames intead of float_reg_names when TI syntax is used. (c4x_function_epilogue): Likewise. (c4x_print_operand): Likewise. * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine. * c4x.md (set_high): Disable for TARGET_TI. From-SVN: r31682
Herman A.J. ten Brugge committed -
c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading of framepointer + constant to ADDR_REGS class. 2000-01-27 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading of framepointer + constant to ADDR_REGS class. * c4x.md (addqi3, addqi3_noclobber_reload): Update. * c4x.c (std_or_reg_operand): New function. * c4x-protos.h (std_or_reg_operand): Prototype it. From-SVN: r31681
Herman A.J. ten Brugge committed
-