1. 27 Aug, 1999 5 commits
  2. 26 Aug, 1999 22 commits
  3. 25 Aug, 1999 13 commits
    • m88k.h (VERSION_INFO2): Kill. · 2cb3d06c
              * m88k.h (VERSION_INFO2): Kill.
              (VERSION_STRING): Kill.
              (TM_RCS_ID): Kill.
              (VERSION_INFO1): Tidy.
              (TARGET_VERSION): Update.
              * m88k/dgux.h (VERSION_INFO2): Kill.
              (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
              * m88k/luna.h (VERSION_INFO1): Tidy.
              * m88k/sysv4.h (VERSION_INFO1): Likewise.
              * m88k.c (out_rcs_id, tm_rcs_id): Kill.
              (output_file_start): Adjust for death of VERSION_STRING.
      
      From-SVN: r28881
      Richard Henderson committed
    • cp-tree.def (SUBOBJECT): New tree node. · f1dedc31
      	* cp-tree.def (SUBOBJECT): New tree node.
      	* cp-tree.h (CLEANUP_P): New macro.
      	(SUBOBJECT_CLEANUP): Likewise.
      	(keep_next_level): Add parameter.
      	(get_temp_regvar): Don't declare.
      	(emit_base_init): Remove parameter.
      	(expand_aggr_init): Rename to build_aggr_init.
      	(expand_vec_init): Rename to build_vec_init.
      	(do_pushlevel): Remove.
      	(do_poplevel): Likewise.
      	(finish_cleanup): New function.
      	(finish_subobject): Likewise.
      	(stmts_are_full_exprs_p): New variable.
      	* decl.c (keep_next_level): Add parameter.
      	(cp_finish_decl): Use build_aggr_init, not
      	expand_aggr_init.  Use finish_expr_stmt to expand the code.
      	(expand_static_init): Use tree-generating, not RTL-generating,
      	functions to handle the initialization.
      	(start_function): Remove dead code.  Always have a momentary
      	obstack inside the function, even before hitting the first curly
      	brace.
      	(cplus_expand_expr_stmt): Move calls to
      	expand_{start,end}_target_temps into semantics.c.
      	(cp_function): Add stmts_are_full_exprs_p.
      	(push_cp_function_context): Save it.
      	(pop_cp_function_context): Restore it.
      	* decl2.c (get_temp_regvar): Move to init.c.
      	(do_static_initialization): Use build_{aggr,vec}_init.
      	(do_static_destruction): Fix typo in comment.
      	* dump.c (dequeue_and_dump): Handle INIT_EXPR.
      	* except.c (expand_throw): Use create_temporary_var.
      	* expr.c (cplus_expand_expr): Use build_{aggr,vec}_init.
      	* init.c (expand_vec_init_try_block): Remove.
      	(expand_vec_init_catch_clause): Likewise.
      	(get_temp_regvar): New function.
      	(begin_init_stmts): Likewise.
      	(finish_init_stmts): Likewise.
      	(perform_member_init): Use build_{aggr,vec}_init.  Build up tree
      	structure here.
      	(emit_base_init): Likewise.  Remove unused parameter.
      	(expand_virtual_init): Likewise.
      	(expand_cleanup_for_base): Use finish_subobject.
      	(expand_aggr_vbase_init_1): Simplify.
      	(construct_virtual_bases): Use tree-generating functions to build
      	up initialization.
      	(expand_aggr_init): Likewise.  Rename to build_aggr_init.
      	(expand_default_init): Likewise.
      	(expand_aggr_init_1): Likewise.
      	(expand_vec_init): Rename to build_vec_init.
      	* method.c (do_build_copy_constructor): Use tree-generating
      	functions.  Don't call clear_last_expr.
      	(do_build_assign_ref): Likewise.
      	(synthesize_method): Call clear_last_expr here.
      	* parse.y (base_init): Don't call clear_last_expr here.
      	(nodecls): Likewise.
      	* pt.c (tsubst_expr): Handle a TRY_BLOCK with CLEANUP_P set.
      	* semantics.c (do_pushlevel): Move to here.
      	(do_poplevel): Likewise.
      	(stmts_are_full_exprs_p): New variable.
      	(finish_expr_stmt): Handle logic for temoprary cleanup here.
      	(finish_for_stmt): Use finish_expr_stmt.
      	(finish_cleanup): New function.
      	(finish_function_try_block): Fix indentation.
      	(finish_subobject): New function.
      	(setup_vtbl_ptr): Call keep_next_level here.
      	(finish_stmt_expr): Handle a block with no scope inside the
      	statement-expression.
      	(expand_stmt): Handle a TRY_BLOCK with CLEANUP_P set.  Handle
      	SUBOBJECT.
      	* tree.c (search_tree): Handle INIT_EXPR.
      	(mapcar): Likewise.
      	* typeck.c (build_modify_expr): Don't build an RTL_EXPR.
      	* typeck2.c (store_init_value): Change expand_aggr_init to
      	build_aggr_init in comment.
      
      From-SVN: r28878
      Mark Mitchell committed
    • cpplib.c (detect_if_not_defined): New function. · 1d0e51ba
      1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
      
      	* cpplib.c (detect_if_not_defined): New function.
      	(do_if): Use it to detect potential once-only headers.
      
      From-SVN: r28877
      Jim Meyering committed
    • lss-001.C, [...]: New tests. · f362bcef
      * g++.old-deja/g++.pt/lss-001.C, lss-002.C, lss-003.C, lss-004.C,
      lss-005.C, lss-006.C, lss-007.C, lss-008.C, lss-009.C, lss-010.C,
      lss-011.C: New tests.
      
      From-SVN: r28874
      Paul Burchard committed
    • * c-common.c (combine_strings): Always set TREE_CONSTANT. · ccd4c832
      From-SVN: r28873
      Jason Merrill committed
    • combine.c (nonzero_bits): Allow single-ly set registers to be anywere in the function only if... · 57cf50a4
      	* combine.c (nonzero_bits) : Allow single-ly set registers to be
      	anywere in the function only if they are pseudos and set before
      	being used (not live at the start of the function).
      	(num_sign_bit_copies) : Same.
      	(get_last_value_validate) : Same.
      	(get_last_value) : Same.
      
      From-SVN: r28871
      Gavin Romig-Koch committed
    • G19990304_01.out: New file. · 95c56085
      	* libjava.toshiba/G19990304_01.out: New file.
      	* libjava.toshiba/G19990304_01.java: New file.
      
      From-SVN: r28870
      Tom Tromey committed
    • loop.c (express_from): Try harder to unify (* c N) and (* c M) where N and M are… · e0485b85
      loop.c (express_from): Try harder to unify (* c N) and (* c M) where N and M are constant and N is an...
      
              * loop.c (express_from): Try harder to unify (* c N) and (* c M)
              where N and M are constant and N is an integer multiple of M.
      
      From-SVN: r28868
      Richard Henderson committed
    • * dump.c (dequeue_and_dump): Dump TARGET_EXPRs. · 37f26d64
      From-SVN: r28867
      Mark Mitchell committed
    • sbitmap.h (sbitmap_intersection_of_succs): Add prototype. · 36349f8b
      
      Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
      
      	* sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
      	(sbitmap_intersection_of_preds, sbitmap_union_of_succs,
      	sbitmap_union_of_preds): Add prototypes.
      	* sbitmap.c (sbitmap_intersection_of_succs): New function to compute
      	the intersection of successors with the new flow graph structures.
      	(sbitmap_intersection_of_preds): New function to compute the
      	intersection of predecessors with the new flow graph structures.
      	(sbitmap_union_of_succs): New function to compute the union of
      	successors with the new flow graph structures.
      	(sbitmap_union_of_preds): New function to compute the union of
      	predecessors with the new flow graph structures.
      	* gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
      	(expr_reaches_here_p): Use edge and basic_block structures instead
      	of s_preds and s_succs.
      	(compute_cprop_avinout): Use new sbitmap routines.
      	(pre_expr_reaches_here_p): Use edge and basic_block structures instead
      	of s_preds and s_succs.
      	* flow.c (compute_flow_dominators): Compute dominators using
      	edges and basic blocks instead of s_preds and s_succs.
      
      From-SVN: r28866
      Andrew MacLeod committed
    • G19990310_01.out: New file. · 3d31bc7f
      	* libjava.lang/G19990310_01.out: New file.
      	* libjava.lang/G19990310_01.java: New file.
      
      From-SVN: r28865
      Tom Tromey committed
    • lists.c (unused_insn_list, [...]): New file for maintaining various types of lists. · 5a4f6418
      
      Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
      
      	* lists.c (unused_insn_list, unused_expr_list): New file for
      	maintaining various types of lists. New statics for maintaining a
      	cache of available INSN_LIST and EXPR_LIST nodes.
      	(free_list): Static function for freeing a list of INSN/EXPR nodes.
      	(alloc_INSN_LIST): Function to get a free INSN_LIST node.
      	(alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
      	(init_EXPR_INSN_LIST_cache): Initialize the cache lists.
      	(free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
      	(free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
      	(free_EXPR_LIST_node): Free an individual EXPR_LIST node.
      	(free_INSN_LIST_node): Free an individual INSN_LIST node.
      	* haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
      	(free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
      	(remove_dependence, free_pending_lists): Use new global routines.
      	(flush_pending_lists, sched_analyze_insn): Use new global routines.
      	(sched_analyze, compute_block_backward_dependences): Use new routines.
      	(sched_analyze_1, sched_analyze_2): Use new routines.
      	(schedule_insns): Use new global routines.
      	* rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
      	prototypes.
      	(free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
      	(free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
      	prototypes.
      	* toplev.c (rest_of_compilation): Initialize node cache.
      	* Makefile.in (OBJS): Add lists.o to list of object files.
      	(lists.o): Add dependancies.
      
      From-SVN: r28864
      Andrew MacLeod committed