1. 05 Apr, 2000 23 commits
  2. 04 Apr, 2000 17 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
    • calls.c (ECF_MALLOC, [...]): New constants. · f2d33f13
      	* calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
      	 ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
      	(ECF_IS_CONST): Rename to ECF_CONST.
      	(special_function_p): Make static, change interface.
      	(flags_from_decl_or_type, try_to_integrate): Break out from ...
      	(expand_call) ... here; convert number of variables to flags.
      	(emit_library_call_vlue_1): Likewise.
      	(setjmp_call_p): New function.
      	(initialize_argument_information): Accepts flags as argument;
      	return flags.
      	(precompute_arguments): Likewise.
      	* tree.h (special_function_p): Remove.
      	(setjmp_call_p): Add prototype.
      
      From-SVN: r32904
      Jan Hubicka committed
    • * execute/20000403-1.c: New test. · 05ca7cfd
      From-SVN: r32902
      Hans-Peter Nilsson committed
    • sparc.md (movdi_insn_sp64_novis): New pattern. · a5774a7d
      	* config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
      	(movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
      	(movsf): Don't force any constant to memory if target is integer
      	hard register.
      	Move fp_zero_operand check below the const0_rtx check.
      	(movtf): Likewise. Also allow fp_zero_operand for stores into
      	memory.
      	(movdf): Likewise. Also allow fp_zero_operand for stores into
      	memory and into integer hard registers.
      	(clear_df, clear_dfp, movdf_const_intreg_sp32,
      	movdf_const_intreg_sp64): Remove.
      	(movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
      	conditions.
      	(movdf_no_e_insn_v9_sp32): New pattern.
      	(movdf_insn_v9only): Remove.
      	(movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
      	(movdf_insn_sp64): Remove.
      	(movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
      	(movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
      	(following splits): Rewrite conditions. Add two new splits
      	for storing 0.0 into memory and registers.
      	(clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
      	(movtf_insn_sp32): Redo constraints and conditions.
      	(movtf_insn_vis_sp32): New pattern.
      	(movtf_no_e_insn_sp32): Redo constraints and conditions.
      	(movtf_insn_hq_sp64): Likewise.
      	(movtf_insn_hq_vis_sp64): New pattern.
      	(movtf_insn_sp64): Redo constraints and conditions.
      	(movtf_insn_vis_sp64): New pattern.
      	(movtf_no_e_insn_sp64): Redo constraints and conditions.
      	(movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
      	or memory.
      	* config/sparc/sparc.c (sparc_override_options): Assume v9 if either
      	-mvis or -m64 to take down the number of various reload patterns.
      
      From-SVN: r32901
      Jakub Jelinek committed
    • sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin so that addresses are… · ce3e1311
      sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin so that addresses are offsetable by up to 16 bytes.
      
      	* config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
      	so that addresses are offsetable by up to 16 bytes.
      	(GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
      	non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
      	offsetable.
      
      From-SVN: r32900
      Jakub Jelinek committed
    • Daily bump. · 2f761dcb
      From-SVN: r32899
      Jeff Law committed