1. 06 Apr, 2000 1 commit
  2. 05 Apr, 2000 28 commits
  3. 04 Apr, 2000 11 commits
    • Makefile (gccbug): New target. · 501a4819
      	* Makefile (gccbug): New target.
      	(doc): Depend on it.
      	* gcc.texi (Bugs): Link subnodes.
      	(gccbug): New node.
      	* gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
      	Document severities, priorities, and classes in bug form.
      	* ChangeLog: Replace leading spaces with tabs.
      
      From-SVN: r32915
      Martin v. Löwis committed
    • * gcc.dg/cast-qual-1.c: Revert last change. · ace8b015
      From-SVN: r32914
      Geoff Keating committed
    • dbxout.c (CONTIN): If it doesn't have to do anything... · 86a44e25
      	* dbxout.c (CONTIN): If it doesn't have to do anything, give it a
      	definition that doesn't provoke the "empty body in an
      	if-statement" warning.
      
      From-SVN: r32913
      Zack Weinberg committed
    • cpplex.c (trigraph_map, speccase): Combine into single table, chartab. · 2a87fbe8
      	* cpplex.c (trigraph_map, speccase): Combine into single
      	table, chartab.
      	(NORMAL, NONTRI): New macros.
      	(_cpp_read_and_prescan): Change to use unified table.  Use
      	is_hspace to test for whitespace.
      
      From-SVN: r32912
      Zack Weinberg committed
    • builtins.c (expand_builtin_strlen): Force the source to be a memory address. · 21e62dfa
      	* builtins.c (expand_builtin_strlen): Force the source to
      	be a memory address.
      
      From-SVN: r32911
      Clinton Popetz committed
    • cpplib.c (D): Adjust to call CONCAT2 macro without whitespace. · 7c32404c
      2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
      
      	* cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
      
      From-SVN: r32910
      Kaveh R. Ghazi committed
    • cfns.gperf (hash, [...]): Prototype. · c2e407f1
      	* cfns.gperf (hash, libc_name_p): Prototype.
      
      	* rtti.c (build_dynamic_cast_1): Constification.
      
      	* search.c (dfs_debug_unmarkedp, dfs_debug_mark): Unhide prototypes.
      
      	* semantics.c (deferred_type_access_control): Prototype.
      
      From-SVN: r32909
      Kaveh R. Ghazi committed
    • boehm.c (mark_reference_fields, set_bit): Prototype. · c0b864fc
      	* boehm.c (mark_reference_fields, set_bit): Prototype.
      	(set_bit): Un-ANSI-fy definition.
      
      	* class.c (init_test_hash_newfunc, decl_hash, decl_compare):
      	Prototype.
      
      	* decl.c (emit_init_test_initialization): Likewise.
      
      	* gjavah.c (jni_print_char): Likewise.
      
      	* parse.y (create_new_parser_context): Likewise.
      
      From-SVN: r32908
      Kaveh R. Ghazi committed
    • Makefile.in: Rebuilt. · 69c0caa1
      	* Makefile.in: Rebuilt.
      	* Makefile.am (awt_java_source_files): Added AWTException.java.
      	* java/awt/AWTException.java: New file.
      
      From-SVN: r32907
      Tom Tromey committed
    • Top level: · db459595
      2000-04-04  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
              * configure.in: (i[3456]86-*-solaris2*): Removed `target-libffi'
              from list. Patch proposed by Anthony Green.
      
      Libffi:
      
      2000-04-04  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
              * configure: Rebuilt.
              * configure.in: (i*86-*-solaris*): New libffi target. Patch
              proposed by Bryce McKinlay.
      
      From-SVN: r32906
      Alexandre Petit-Bianco committed
    • Correct many new ABI issues regarding vbase and vcall offset layout. · c35cce41
      	Correct many new ABI issues regarding vbase and vcall offset
      	layout.
      	* cp-tree.h (BINFO_VTABLE): Document.
      	(struct lang_type): Tweak formatting.
      	(BINFO_PRIMARY_BINFO): Add to documentation.
      	(CLASSTYPE_VSIZE): Fix typo in comment.
      	(CLASSTYPE_VBASECLASSES): Update documentation.
      	(BINFO_VBASE_MARKED): Remove.
      	(SET_BINFO_VBASE_MARKED): Likewise.
      	(CLEAR_BINFO_VBASE_MARKED): Likewise.
      	(BINFO_FIELDS_MARKED): Remove.
      	(SET_BINFO_FIELDS_MARKED): Likewise.
      	(CLEAR_BINFO_FIELDS_MARKED): Likewise.
      	(enum access_kind): New enumeration.
      	(num_extra_vtbl_entries): Remove declaration.
      	(size_extra_vtbl_entries): Likewise.
      	(get_vtbl_decl_for_binfo): New function.
      	(dfs_vbase_unmark): Remove declaration.
      	(mark_primary_bases): Likewise.
      	* class.c (SAME_FN): Remove.
      	(struct vcall_offset_data_s): Move definition.
      	(build_vbase_pointer): Use `build', not `build_binary_op', to
      	access the vbase pointer under the new ABI.
      	(build_vtable_entry_ref): Use get_vtbl_decl_for_binfo.
      	(build_primary_vtable): Likewise.
      	(dfs_mark_primary_bases): Move here from search.c.
      	(mark_primary_bases): Likewise.
      	(determine_primary_bases): Under the new ABI, don't make a base
      	class a primary base just because we don't yet have any virtual
      	functions.
      	(layout_vtable_decl): Use get_vtbl_decl_for_binfo.
      	(num_vfun_entries): Remove.
      	(dfs_count_virtuals): Likewise.
      	(num_extra_vtbl_entries): Likewise.
      	(size_extra_vtbl_entries): Likewise.
      	(layout_virtual_bases): Iterate in inheritance graph order under
      	the new ABI.
      	(finish_struct_1): Use TYPE_VFIELD, not CLASSTYPE_VSIZE, to
      	indicate that a vfield is present.
      	(init_class_processing): Initialize access_public_node, etc., from
      	ak_public, etc.
      	(get_vtbl_decl_for_binfo): New function.
      	(dump_class_hierarchy_r): Likewise.
      	(dump_class_hierarchy): Use it.
      	(finish_vtbls): Build the vtbls in inheritance graph order.
      	(dfs_finish_vtbls): Adjust call to build_vtbl_initializer.
      	(initialize_vtable): Use get_vtbl_decl_for_binfo.
      	(accumulate_vtbl_inits): Add comments explaining why a pre-order
      	walk is required.
      	(dfs_accumulate_vtbl_inits): Set BINFO_VTABLE to the location
      	where the vptr points, even for primary vtables.
      	(build_vtbl_initializer): Adjust handling of vbase and vcall
      	offsets.
      	(build_vcall_and_vbase_vtable_entries): New function.
      	(dfs_build_vbase_offset_vtbl_entries): Remove.
      	(build_vbase_offset_vtbl_entries): Reimplement.
      	(dfs_build_vcall_offset_vtbl_entries): Don't include virtuals that
      	were already handled in a primary base class vtable.
      	(build_vcall_offset_vtbl_entries): Adjust.
      	(build_rtti_vtbl_entries): Adjust.
      	* decl2.c (output_vtable_inherit): Use get_vtbl_decl_for_binfo.
      	* init.c (expand_virtual_init): Simplify.
      	* repo.c (repo_get_id): Use get_vtbl_decl_for_binfo.
      	* rtti.c (create_pseudo_type_info): Adjust calculation of vptr.
      	* search.c (BINFO_ACCESS): New macro.
      	(SET_BINFO_ACCESS): Likewise.
      	(dfs_access_in_type): Manipulate access_kinds, not access nodes.
      	(access_in_type): Likewise.
      	(dfs_accessible_p): Likewise.
      	(protected_accessible_p): Likewise.
      	(lookup_fnfields_1): Adjust documentation.
      	(dfs_mark_primary_bases): Move to class.c
      	(mark_primary_bases): Likewise.
      	(dfs_vbase_unmark): Remove.
      	(virtual_context): Use BINFO_FOR_VBASE.
      	(dfs_get_vbase_types): Simplify.
      	(dfs_build_inheritance_graph_order): New function.
      	(get_vbase_types): Use it.
      	* tree.c (debug_binfo): Use get_vtbl_decl_for_binfo.
      
      	* tinfo.cc (get_vbase_offset): New function.
      	(__vmi_class_type_info::do_find_public_src): Use it.
      	(__vmi_class_type_info::do_dyncast): Likewise.
      	(__vmi_class_type_info::do_upcast): Likewise.
      
      From-SVN: r32905
      Mark Mitchell committed