1. 06 Dec, 1999 19 commits
  2. 05 Dec, 1999 18 commits
    • decl.c (init_decl_processing): Set flag_inline_trees if !flag_no_inline. · bccd95ae
      	* decl.c (init_decl_processing): Set flag_inline_trees if
      	!flag_no_inline.
      
      From-SVN: r30792
      Mark Mitchell committed
    • * g++.old-deja/g++.abi/align.C (main): Fix typo. · 77cf4d55
      From-SVN: r30791
      Alex Samuel committed
    • splay-tree.h (struct splay_tree_node): Rename to ... · 08230f26
      	* splay-tree.h (struct splay_tree_node): Rename to ...
      	(struct splay_tree_node_s): ... this.
      	(struct splay_tree): Rename to ...
      	(struct splay_tree_s): ... this.
      
      	* splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
      	rather than struct splay_tree_node.
      	(splay_tree_insert): Use struct splay_tree_s rather than struct
      	splay_tree.
      
      From-SVN: r30790
      Mark Mitchell committed
    • cp-tree.h (calls_setjmp_p): Declare. · 95fabfd3
      	* cp-tree.h (calls_setjmp_p): Declare.
      	* decl.c (finish_function): Mark functions that call setjmp as
      	uninlinable.
      	* optimize.c (calls_setjmp_r): New function.
      	(calls_setjmp_p): Likewise.
      
      From-SVN: r30789
      Mark Mitchell committed
    • tree.h (special_function_p): Declare. · 3a8c995b
      	* tree.h (special_function_p): Declare.
      	* calls.c (special_function_p): Make it global.  Don't take `name'
      	as a parameter.  Fix typo in 1999-11-28 change.
      	(expand_cal): Adjust.
      
      From-SVN: r30788
      Mark Mitchell committed
    • dwarf2out.c (add_abstract_origin_attribute): Don't abort when the original die cannot be found. · e6f696fc
      	* dwarf2out.c (add_abstract_origin_attribute): Don't abort when
      	the original die cannot be found.
      
      From-SVN: r30787
      Mark Mitchell committed
    • Daily bump. · 53c9c5ea
      From-SVN: r30786
      Jeff Law committed
    • Fix another typo · 1a50ed34
      From-SVN: r30785
      Mark Mitchell committed
    • optimize.c (expand_call_inline): Wrap the expanded call in an… · 5679f678
      optimize.c (expand_call_inline): Wrap the expanded call in an EXPR_WITH_FILE_LOCATION node to get correct line...
      
      	* optimize.c (expand_call_inline): Wrap the expanded call in an
      	EXPR_WITH_FILE_LOCATION node to get correct line numbers for
      	inlined functions.
      
      From-SVN: r30784
      Mark Mitchell committed
    • tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting. · 86fff623
      	* tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
      	* tree.h (EXPR_WFL_FILENAME): Define in terms of
      	EXPR_WFL_FILENAME_NODE.
      	(EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
      	the TREE_CHAIN.
      	* print-tree.c (print_note): Print TREE_PRIVATE and
      	TREE_PROTECTED.
      
      From-SVN: r30783
      Mark Mitchell committed
    • Fix typo · c9818a41
      From-SVN: r30782
      Mark Mitchell committed
    • optimize.c (inline_data): Remove fns_top. · 390f4e9a
      	* optimize.c (inline_data): Remove fns_top.  Add scope_stmt.  Add
      	in_target_cleanup_p.
      	(remap_decl): New function.
      	(remap_block): Likewise.
      	(copy_scope_stmt): Likewise.
      	(copy_body_r): Use remap_decl and copy_scope_stmt.
      	(copy_body): Use VARRAY_TOP_TREE.
      	(initialize_inlined_parameters): Likewise.
      	(declare_return_variable): Likewise.
      	(inlinable_function_p): Check flag_inline_trees.
      	(expand_call_inline): Handle SCOPE_STMTs and TARGET_EXPRs
      	specially.  Use VARRAY_PUSH_TREE.  Create a BLOCK for the
      	parameters of the inlined function.
      	(optimize_function): Prevent recursion into partially complete
      	functions.
      
      From-SVN: r30781
      Mark Mitchell committed
    • cp-tree.def (SCOPE_STMT): Take one operand. · 5a586e50
      	* cp-tree.def (SCOPE_STMT): Take one operand.
      	* cp-tree.h (SCOPE_STMT_BLOCK): New macro.
      	(SCOPE_NULLIFIED_P): Redefine.
      	(SCOPE_NO_CLEANUPS_P): New macro.
      	(add_scope_stmt): Change prototype.
      	* decl.c (poplevel): Tidy.  Warn about unused variables here.
      	Record SCOPE_STMT_BLOCKs.
      	(finish_function): Keep DECL_INITIAL for functions that might be
      	inlined.
      	* ir.texi: Document SCOPE_NO_CLEANUPS_P.
      	* semantics.c: Include rtl.h.
      	(add_scope_stmt): Return the new scope statement and, for an
      	end-of-scope statement, its matching begin statement.  Don't set
      	SCOPE_NULLIFIED_P.
      	(do_pushlevel): Simplify, now that we are always
      	function-at-a-time.
      	(do_poplevel): Likewise.  Record SCOPE_STMT_BLOCKs.
      	(expand_stmt): Don't call expand_start_bindings or
      	expand_end_bindings for a scope with SCOPE_NO_CLEANUPS_P set.
      	* tree.c (copy_tree_r): Clear SCOPE_STMT_BLOCK rather than setting
      	SCOPE_NULLIFIED_P.
      	* Makefile.in (semantics.o): Depend on RTL_H.
      
      From-SVN: r30780
      Mark Mitchell committed
    • cp-tree.def (SCOPE_STMT): Take one operand. · d9b2d9da
      	* cp-tree.def (SCOPE_STMT): Take one operand.
      	* cp-tree.h (SCOPE_STMT_BLOCK): New macro.
      	(SCOPE_NULLIFIED_P): Redefine.
      	(SCOPE_NO_CLEANUPS_P): New macro.
      	(add_scope_stmt): Change prototype.
      	* decl.c (poplevel): Tidy.  Warn about unused variables here.
      	Record SCOPE_STMT_BLOCKs.
      	(finish_function): Keep DECL_INITIAL for functions that might be
      	inlined.
      	* ir.texi: Document SCOPE_NO_CLEANUPS_P.
      	* semantics.c: Include rtl.h.
      	(add_scope_stmt): Return the new scope statement and, for an
      	end-of-scope statement, its matching begin statement.  Don't set
      	SCOPE_NULLIFIED_P.
      	(do_pushlevel): Simplify, now that we are always
      	function-at-a-time.
      	(do_poplevel): Likewise.  Record SCOPE_STMT_BLOCKs.
      	(expand_stmt): Don't call expand_start_bindings or
      	expand_end_bindings for a scope with SCOPE_NO_CLEANUPS_P set.
      	* tree.c (copy_tree_r): Clear SCOPE_STMT_BLOCK rather than setting
      	SCOPE_NULLIFIED_P.
      
      From-SVN: r30779
      Mark Mitchell committed
    • decl2.c (pending_statics_used): Make it a macro. · 2c0f17dc
      	* decl2.c (pending_statics_used): Make it a macro.
      	(saved_inlines_used): Likewise.
      	(finish_static_data_member_decl): Use VARRAY_PUSH_TREE.
      	(mark_inline_for_output): Likewise.
      	(ssdf_decls_used): Remove.
      	(start_static_storage_duration_function): Use VARRAY_PUSH_TREE.
      	(generate_ctor_or_dtor_function): Adjust accordingly.
      
      From-SVN: r30778
      Mark Mitchell committed
    • varray.h (varray_head_tag): Add elements_used. · a6873608
      	* varray.h (varray_head_tag): Add elements_used.
      	(VARRAY_PUSH): New macro.
      	(VARRAY_POP): Likewise.
      	(VARRAY_TOP): Likewise.
      	Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
      	types.
      	* varray.c (varray_init): Initialize elements_used.
      	* Makefile.in (BASIC_BLOCK_H): Add varray.h.
      	(INTEGRATE_H): New variable.
      	(integrate.o): Depend on INTEGRATE_H.
      	(unroll.o): Likewise.
      
      From-SVN: r30777
      Mark Mitchell committed
    • function.h (insert_block_after_note): Declare. · 4ce89364
      	* function.h (insert_block_after_note): Declare.
      	* function.c (insert_block_after_note): Split out from ...
      	(retrofit_block): ... here.
      
      From-SVN: r30776
      Mark Mitchell committed
    • * stmt.c (expand_fixup): Fix typo in comment. · 12f61228
      From-SVN: r30775
      Mark Mitchell committed
  3. 04 Dec, 1999 3 commits