1. 31 Jul, 2000 2 commits
    • Allow indirect primary bases. · 911a71a7
      	* cp-tree.h (struct lang_type): Remove vfield_parent.  Add
      	primary_base.
      	(CLASSTYPE_VFIELD_PARENT): Remove.
      	(CLASSTYPE_PRIMARY_BINFO): Reimplement.
      	(BINFO_PRIMARY_BINFO): Remove.
      	(CLASSTYPE_HAS_PRIMARY_BASE_P): Reimplement.
      	(BINFO_VBASE_PRIMARY_P): Likewise.
      	(BINFO_PRIMARY_BASE_OF): New macro.
      	(BINFO_INDIRECT_PRIMARY_P): Likewise.
      	(get_primary_binfo): New function.
      	* decl.c (lang_mark_tree): Make lang_type::primary_base.
      	* class.c (vcall_offset_data_s): Rename to ...
      	(vtbl_init_data_s): ... this.  Rename primary_p to primary_vtbl_p,
      	and add ctor_vtbl_p.
      	(get_derived_offset): Use get_primary_binfo.
      	(dfs_mark_primary_bases): Adjust handling of virtual primary
      	bases.
      	(mark_primary_bases): Likewise.
      	(set_primary_base): Take a binfo, not an integer, as a
      	representation of the primary base.
      	(indirect_primary_base_p): Remove.
      	(determine_primary_base): Adjust for indirect primary bases.
      	(dfs_find_final_overrider): Fix typo in coment.
      	(update_vtable_entry_for_fn): Use get_primary_binfo.
      	(layout_nonempty_base_or_field): Tweak.
      	(build_base_fields): Adjust for new primary base semantics.
      	(dfs_propagate_binfo_offsets): Remove.
      	(propagate_binfo_offsets): Rewrite.
      	(dfs_set_offset_for_shared_vbases): Remove.
      	(layout_virtual_bases): Don't use it.
      	(layout_class_type): Set CLASSTYPE_SIZE correctly under the new
      	ABI.
      	(finish_struct_1): Set CLASSTYPE_PRIMARY_BINFO, not
      	CLASSTYPE_VFIELD_PARENT.
      	(dfs_get_primary_binfo): New function.
      	(get_primary_binfo): Likewise.
      	(dump_class_hierarchy_r): Tweak printing of primary bases.
      	(build_vtbl_initializer): Fix typo in comments.  Use
      	vtbl_init_data.
      	(build_vcall_and_vbase_vtbl_entries): Likewise.
      	(build_vbaes_offset_vtbl_entries): Likewise.
      	(dfs_build_vcall_offset_vtbl_entries): Adjust setting of
      	BV_VCALL_INDEX to handle indirect primary bases.
      	(build_vcall_offset_vtbl_entries): Use vtbl_init_data.
      	(build_rtti_vtbl_entries): Likewise.
      	* search.c (get_shared_vbase_if_not_primary): Tweak.
      	(find_vbase_instance): Likewise.
      	(binfo_for_vtable): Simplify.
      	* tree.c (unshare_base_binfos): Clear BINFO_PRIMARY_BASE_OF.
      	(make_binfo): Make it have 11 entries.
      
      From-SVN: r35360
      Mark Mitchell committed
    • Fix bug in my last checkin. · abe24fb3
      From-SVN: r35359
      Jan Hubicka committed
  2. 30 Jul, 2000 26 commits
  3. 29 Jul, 2000 6 commits
  4. 28 Jul, 2000 6 commits
    • ObjectOutputStream.java (writeObject): Per spec, call NotSerializableException… · 2dacb3e9
      ObjectOutputStream.java (writeObject): Per spec, call NotSerializableException with just the class name.
      
      	* java/io/ObjectOutputStream.java (writeObject): Per spec, call
      	NotSerializableException with just the class name.
      
      From-SVN: r35325
      Warren Levy committed
    • ia64.c (ia64_print_operand): Fix typos. · 08012cda
              * config/ia64/ia64.c (ia64_print_operand): Fix typos.
              Sign extend mode size before negating.
      
      From-SVN: r35324
      Richard Henderson committed
    • libtool.m4, [...]: New files from the libtool CVS tree multi-language branch. · 4f4caf92
      
      2000-07-28  Alexandre Oliva  <aoliva@redhat.com>
      
              * libtool.m4, ltcf-c.sh, ltcf-cxx.sh, ltcf-gcj.sh: New files from
      	the libtool CVS tree multi-language branch.
      	* ltconfig, ltmain.sh: Updated.
      
      From-SVN: r35323
      Alexandre Oliva committed
    • acinclude.m4: Include ../libtool.m4. · 3df64633
      
      
      
      
      2000-07-28  Alexandre Oliva  <aoliva@redhat.com>
      
      	* acinclude.m4: Include ../libtool.m4.
      	* aclocal.m4, configure: Rebuilt.
      
      From-SVN: r35322
      Alexandre Oliva committed
    • cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY. · 4b983fdc
      	* cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY.
      	(cse_insn): Likewise.
      	(addr_affects_sp_p): Likewise.
      	* expr.c (move_by_pieces): Likewise.
      	(clear_by_pieces): Likewise.
      	* gcse.c (oprs_unchanged_p): Likewise.
      	* haifa-sched.c (sched_analyze_2): Likewise.
      	* recog.c (offsettable_address_p): Likewise.
      	* regclass.c (record_address_regs): Likewise.
      	* reload.c (find_reusable_reload): Likewise.
      	(push_reload): Likewise.
      	(operands_match_p): Likewise.
      	(decompose): Likewise.
      	(find_reloads_address_1): Likewise.
      	(find_inc_amount): Likewise.
      	* reload1.c (elimination_effects): Likewise.
      	* resource.c (mark_set_resources): Likewise.
      	* flow.c (attempt_auto_inc): New function; mostly broken out
      	of find_auto_inc.
      	(find_auto_inc): Split into two functions and enhanced to
      	generate POST_MODIFY.
      	* rtl.def (PRE_MODIFY, POST_MODIFY): Adjust comment.
      	* rtl.h (count_all_occurrences):  Declare.
      	(HAVE_{PRE,POST}_MODIFY_{DISP,REG}): Provide default of 0 if not
      	defined.
      	* rtlanal.c (count_all_occurrences): New function.
      	* tm.texi (HAVE_POST_MODIFY_DISP, HAVE_PRE_MODIFY_DISP,
      	HAVE_POST_MODIFY_REG, HAVE_PRE_MODIFY_REG): Document.
      
      	* config/ia64/ia64-protos.h (destination_operand): Declare.
      	* config/ia64/ia64.c (destination_operand): New function.
      	(ia64_print_operand): Handle POST_MODIFY.
      	(rtx_needs_barrier): Likewise.
      	* config/ia64/ia64.h (HAVE_POST_MODIFY_DISP): Define to 1.
      	(HAVE_POST_MODIFY_REG): Define to 1.
      	(MAX_REGS_PER_ADDRESS): Change to 2.
      	(GO_IF_LEGITIMATE_ADDRESS): Accept POST_MODIFY too.
      	(LEGITIMATE_ADDRESS_REG): New helper macro.
      	(LEGITIMATE_ADDRESS_DISP): Likewise.
      	(PREDICATE_CODES): Add entry for destination_operand.
      	* config/ia64/ia64.md (all mov patterns): Use destination_operand
      	predicate for operand 0.
      
      From-SVN: r35321
      Richard Henderson committed