1. 22 May, 2000 3 commits
    • ghazi's avatar
      * fixinc/inclhack.def (sun_malloc): Handle `calloc'. · 6e58c05f
      ghazi authored
      	(sun_malloc, sysz_stdtypes_for_sun): Add test_text.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34071 138bc75d-0d04-0410-961f-82ee72b054a4
      6e58c05f
    • bryce's avatar
      2000-05-22 Bryce McKinlay <bryce@albatross.co.nz> · 824d6256
      bryce authored
              Test for PR gcj/232:
              * libjava.compile/PR232.java: New file.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34070 138bc75d-0d04-0410-961f-82ee72b054a4
      824d6256
    • mmitchel's avatar
      * cp-tree.h (SET_BINFO_NEW_VTABLE_MARKED): Add sanity checks. · bd5edd91
      mmitchel authored
      	(VTT_NAME_PREFIX): New macro.
      	(CTOR_VTBL_NAME_PREFIX): Likewise.
      	(get_ctor_vtbl_name): New function.
      	* class.c (get_vtable_name): Simplify.
      	(get_vtt_name): New function.
      	(get_vtable_decl): Don't set IDENTIFIER_GLOBAL_VALUE.
      	(dfs_mark_primary_bases): Update the CLASSTYPE_VBASECLASSES list
      	when a virtual base becomes primary.
      	(finish_struct_1): Set CLASSTYPE_VFIELDS a little earlier.  Build
      	VTTs.
      	(finish_vtbls): Adjust calls to accumulate_vtbl_inits to pass in
      	additional parameters.
      	(dfs_finish_vtbls): Don't clear BINFO_NEW_VTABLE_MARKED.
      	(initialize_array): New function.
      	(build_vtt): Likewise.
      	(build_vtt_inits): Likewise.
      	(dfs_build_vtt_inits): Likewise.
      	(dfs_fixup_binfo_vtbls): Likewise.
      	(build_ctor_vtbl_group): Likewise.
      	(initialize_vtable): Use initialize_array.
      	(accumulate_vtbl_inits): Reimplement to handle construction
      	vtables.
      	(dfs_accumulate_vtbl_inits): Likewise.
      	(bulid_vtbl_initializer): Adjust parameter name.
      	* method.c (build_typename_overload): Remove #if 0'd code.
      	(get_ctor_vtbl_name): New function.
      	* search.c (dfs_walk_real): Use BINFO_N_BASETYPES.
      	(init_vbase_pointers): Don't mess with the TREE_CHAIN of a binfo.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34069 138bc75d-0d04-0410-961f-82ee72b054a4
      bd5edd91
  2. 21 May, 2000 4 commits
  3. 20 May, 2000 23 commits
  4. 19 May, 2000 10 commits
    • tromey's avatar
      * java/io/BufferedWriter.java: Merged with Classpath. · db24d116
      tromey authored
      	* java/io/BufferedOutputStream.java: Merged with Classpath.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34041 138bc75d-0d04-0410-961f-82ee72b054a4
      db24d116
    • mmitchel's avatar
      Don't create a separate copy of virtual bases for the · 6bcacb96
      mmitchel authored
      	CLASSTYPE_VBASECLASSES list.
      	* cp-tree.h (CLASSTYPE_VBASECLASSES): Change documentation.
      	(BINFO_FOR_VBASE): Remove.
      	(CANONICAL_BINFO): Adjust.
      	(binfo_for_vbase): New function.
      	* class.c (build_vbase_pointer_fields): Use binfo_for_vbase
      	instead of BINFO_FOR_VBASE.
      	(build_vbase_pointer): Likewise.
      	(build_secondary_vtable): Likewise.
      	(dfs_mark_primary_bases): Likewise.
      	(mark_primary_bases): Likewise.
      	(layout_nonempty_base_or_field): Likewise.
      	(dfs_set_offset_for_shared_vbases): Likewise.
      	(dfs_set_offset_for_unshared_vbases): Likewise.
      	(layout_virtual_bases): Likewise.  Adjust for changes to the
      	CLASSTYPE_VBASECLASSES list.
      	(dump_class_hierarchy_r): Use binfo_for_vbase
      	instead of BINFO_FOR_VBASE.
      	(dump_class_hierarchy): Likewise.
      	(finish_vtbls): Likewise.
      	(build_vtbl_initializer): Adjust for changes to the
      	CLASSTYPE_VBASECLASSES list.
      	(build_vbase_offset_vtbl_entries): Use binfo_for_vbase.
      	* decl.c (finish_destructor_body): Adjust for changes to the
      	CLASSTYPE_VBASECLASSES list.
      	* init.c (sort_base_init): Use binfo_for_vbase.
      	(construct_virtual_bases): Adjust for changes to the
      	CLASSTYPE_VBASECLASSES list.
      	(expand_member_init): Use binfo_for_vbase.
      	(build_vbase_delete):  Adjust for changes to the
      	CLASSTYPE_VBASECLASSES list.
      	* method.c (do_build_copy_constructor): Likewise.
      	* rtti.c (get_base_offset): Use binfo_for_vbase.
      	(expand_class_desc): Remove #if 0'd code.
      	* search.c (struct vbase_info): Remove vbase_types.
      	(get_base_distance):  Use binfo_for_vbase.
      	(lookup_field_queue_p): Use CANONICAL_BINFO.
      	(get_shared_vbase_if_not_primary): Use binfo_for_vbase.
      	(get_pure_virtuals): Adjust for changes to the
      	CLASSTYPE_VBASECLASSES list.
      	(dfs_find_vbases): Use binfo_for_vbase.
      	(dfs_init_vbase_pointers): Likewise.
      	(init_vbase_pointers): Don't initialize vi.vbase_types.
      	(virtual_context): Use binfo_for_vbase.
      	(fixup_all_virtual_upcast_offsets): Adjust for changes to the
      	CLASSTYPE_VBASECLASSES list.
      	(expand_indirect_vtbls_init): Simplify.
      	(dfs_get_vbase_types): Don't replicate virtual bases.
      	(find_vbase_instance): Use binfo_for_vbase.
      	(binfo_for_vbase): New function.
      	* typeck.c (get_delta_difference): Use binfo_for_vbase.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34040 138bc75d-0d04-0410-961f-82ee72b054a4
      6bcacb96
    • kenner's avatar
      * cse.c (cse_basic_block): Only call find_reg_note if REG_NOTES not 0. · d6cb6164
      kenner authored
      	* reload.c (find_equiv_reg): Likewise.
      	* alias.c (init_alias_analysis): Likewise.
      	Only call prologue_epilogue_contains on insns.
      	* basic-block.h (REG_SET_TO_HARD_REG_SET): Call new function.
      	* bb-reorder.c (hard-reg-set.h): Include earlier.
      	* haifa-sched.c (hard-reg-set.h): Likewise.
      	* ifcvt.c (hard-reg-set.h): Likewise.
      	* local-alloc.c (hard-reg-set.h): Likewise.
      	* loop.c (hard-reg-set.h): Likewise.
      	* predict.c (hard-reg-set.h): Likewise.
      	* regrename.c (hard-reg-set.h): Likewise.
      	* flow.c (hard-reg-set.h): Likewise.
      	(reg_set_to_hard_reg_set): New function.
      	* bitmap.c (regs.h, basic-block.h): No longer include.
      	(bitmap.h): Now include.
      	* conflict.c (hard-reg-set.h): Include.
      	* profile.c (hard-reg-set.h): Likewise.
      	* print-rtl.c (hard-reg-set.h): Likewise.
      	* sbitmap.c (hard-reg-set.h): Likewise.
      	* toplev.c (hard-reg-set.h): Likewise.
      	* unroll.c (hard-reg-set.h, basic-block.h): Likewise.
      	* hard-reg-set.h (reg_names): Now constant.
      	* regs.h (reg_names): Likewise.
      	* regclass.c (reg_names): Likewise.
      	* loop.h (basic-block.h): No longer include.
      	(bitmap.h): Now include.
      	* reload1.c (order_regs_for_reload): Avoid loop over reg sets.
      	* Makefile.in (LOOP_H, sbitmap.o, profile.o): Reflect above changes.
      	(toplev.o, print-rtl.o, conflict.o, unroll.o, bitmap.o): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34039 138bc75d-0d04-0410-961f-82ee72b054a4
      d6cb6164
    • tromey's avatar
      Thu Apr 27 17:25:33 2000 Alexandre Petit-Bianco <apbianco@cygnus.com> · 3a112b12
      tromey authored
      	* parse.y (block_end:): If the collected block doesn't feature a
       	statement, insert an empty statement.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34038 138bc75d-0d04-0410-961f-82ee72b054a4
      3a112b12
    • rth's avatar
      * basic-block.h (struct edge_def): New field "count". · 86d4af74
      rth authored
      	(struct basic_block_def): Likewise.
      	* flow.c (entry_exit_blocks): Add count fileds.
      	(split_edge): Keep count information up-to-date.
              (dump_edge_info, dump_flow_info): Dump count fields.
      
      	* final.c (count_instrumented_edges): Rename to edge from arc.
      	(end_final): Update users.
      	* profile.c: Include expr.h, basic-block.h.
      	(struct adj_list, ARC_TARGET, ARC_SOURCE, ARC_COUNT): Kill.
              (struct bb_info, label_to_bb, label_to_bb_size, bb_graph): Kill.
              (ignore_next_note, return_label_execution_count): Kill.
      	(bbg_file_name, da_file_name): Kill.
              (edge_info, bb_info): New structures.
              (EDGE_INFO, BB_INFO, GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): New macros.
      	(count_instrumented_edges, total_num_edges): Rename to edge from arc.
      	(total_num_edges_instrumented): Likewise.
      	(init_arc, expand_spanning_tree): Kill.
      	(fill_spanning_tree, tablejump_entry_p): Kill.
      	(instrument_edges):  Rewrite from instrument_arcs to use
      	commit_edge_insertions infrastructure.
      	(compute_branch_probabilities): Remove arguments; rewrite for
      	CFG infrastructure; use rtl_dump_file directly.
      	(branch_prob, find_spanning_tree): Likewise.
      	(union_groups, find_group): New.
      	(init_branch_prob): Make bbg_file_name and da_file_name local.
      	(end_branch_prob): Use rtl_dump_file directly.
      	(init_edge_profiler): Rename to edge from arc.
      	(output_arc_profiler): Kill.
      	(gen_edge_profiler): New.
      	(output_func_start_profiler): Turn off profiling.  Make the
      	constructor static when we can.
      	* rtl.h (branch_prob, end_branch_prob): Update prototypes.
      
      	* toplev.c (DFI_flow): Remove.
      	(DFI_cfg, DFI_life): New.
      	(dump_file): Update accordingly.
      	(compile_file): Call end_branch_prob if profile_arc_flag too.
      	(rest_of_compilation): Move flow1 cfg creation to DFI_cfg.  Do edge
      	profiling after the CFG is built.  Move flow1 life analysis to
      	DFI_life.  Always estimate remaining probabilities.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34037 138bc75d-0d04-0410-961f-82ee72b054a4
      86d4af74
    • rth's avatar
      * ifcvt.c (find_if_case_2): Don't allow THEN to be EXIT. · 447095c0
      rth authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34036 138bc75d-0d04-0410-961f-82ee72b054a4
      447095c0
    • rth's avatar
      * flow.c (make_edges): The sibling call edge to exit is abnormal. · 62cddb26
      rth authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34035 138bc75d-0d04-0410-961f-82ee72b054a4
      62cddb26
    • pme's avatar
      2000-05-19 Phil Edwards <pme@sourceware.cygnus.com> · 9c6a106c
      pme authored
      	* acinclude.m4:  Clean up comments on newer checks.
      	  (GLIBCPP_CHECK_COMPILER_VERSION):  Check for system_header
      	  pragma support.  Remove WERRORSUPPRESS variable, add WERROR.
      	* aclocal.m4:  Regenerate.
      	* configure:  Regenerate.
      	* Makefile.in:  Regenerate.
      	* libio/Makefile.in:  Regenerate.
      	* math/Makefile.in:  Regenerate.
      	* src/Makefile.am:  Tell make's WERROR to depend on configure's WERROR.
      	* src/Makefile.in:  Regenerate.
      	* docs/configopts.html:  Document changes to --enable names.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34034 138bc75d-0d04-0410-961f-82ee72b054a4
      9c6a106c
    • rth's avatar
      * jump.c (redirect_jump): Add delete_unused argument. Don't · f8cacb57
      rth authored
              remove labels and code following when LABEL_NUSES goes to zero.
              (invert_jump): Likewise.
              (jump_optimize_1): Fix redirect/invert arguments.
              (do_cross_jump, thread_jumps): Likewise.
              * flow.c (split_edge): Likewise.
              * reorg.c (optimize_skip): Likewise.
              (reorg_redirect_jump, relax_delay_slots, dbr_schedule): Likewise.
              * profile.c (instrument_arcs): Likewise.
              * loop.c (find_and_verify_loops): Likewise.  Fix indentation.
              * rtl.h: Update prototypes.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34033 138bc75d-0d04-0410-961f-82ee72b054a4
      f8cacb57
    • pme's avatar
      Update footer date; must check in before others. · 5ae82b91
      pme authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34032 138bc75d-0d04-0410-961f-82ee72b054a4
      5ae82b91