1. 18 Aug, 1999 5 commits
  2. 17 Aug, 1999 8 commits
  3. 16 Aug, 1999 12 commits
    • basic-block.h (struct edge_list): Stucture to maintain a vector of edges. · 410538ea
      	* basic-block.h (struct edge_list): Stucture to maintain a vector
      	of edges.
      	(EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
      	 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
      	(create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
      	New function prototypes.
      	* flow.c (create_edge_list): Function to create an edge list.
      	(free_edge_list): Discards memory used by an edge list.
      	(print_edge_list): Debug output showing an edge list.
      	(verify_edge_list): Internal consistency check for an edge list.
      
      From-SVN: r28732
      Andrew MacLeod committed
    • cp-tree.h (CAN_HAVE_FULL_LANG_DECL_P): New macro. · b0d06515
      	* cp-tree.h (CAN_HAVE_FULL_LANG_DECL_P): New macro.
      	* class.c (build_vtable): Use build_lang_field_decl to build the
      	VAR_DECLs for vtables.
      	(prepare_fresh_vtable): Likewise.
      	* decl.c (duplicate_decls): Only copy DECL_SAVED_TREE if
      	CAN_HAVE_FULL_LANG_DECL_P.
      	(push_using_decl): Use build_lang_decl to build USING_DECLs.
      	(grokdeclarator): Use build_lang_decl to build TYPE_DECLs.
      	* lex.c (retrofit_lang_decl): Check CAN_HAVE_FULL_LANG_DECL_P.
      	(build_lang_field_decl): Likewise.
      	(copy_lang_decl): Use CAN_HAVE_FULLLANG_DECL_P to decide how much
      	to copy.
      
      From-SVN: r28731
      Mark Mitchell committed
    • make me the mips maintainer, fix my name · 58e78708
      From-SVN: r28730
      Gavin Romig-Koch committed
    • cp-tree.def (STMT_EXPR): New tree node. · 558475f0
      	* cp-tree.def (STMT_EXPR): New tree node.
      	* cp-tree.h (STMT_EXPR_STMT): New macro.
      	(store_return_init): Change prototype.
      	(finish_named_return_value): New function.
      	(expand_stmt): Likewise.
      	(expand_body): Likewise.
      	(begin_stmt_tree): Likewise.
      	(finish_stmt_tree): Likewise.
      	(expanding_p): New variable.
      	(last_expr_type): Likewise.
      	(building_stmt_tree): New macro.
      	* decl.c (start_function): Use building_stmt_tree, not
      	processing_template_decl, where appropriate.
      	(store_parm_decls): Likewise.
      	(store_return_init): Move most of the body to semantics.c.
      	(finish_function): Use building_stmt_tree.
      	(finish_stmt): Clear last_expr_type here.
      	(cp_function): Add expanding_p, last_tree, last_expr_type.
      	(push_cp_function_context): Save them.
      	(pop_cp_function_context): Restore them.
      	* decl2.c (setup_vtbl_ptr): Move to semantics.c.
      	* error.c (dump_expr): Handle STMT_EXPR.
      	* except.c (expand_start_catch_block): Use building_stmt_tree.
      	Use add_decl_stmt.
      	* expr.c (cplus_expand_expr): Handle STMT_EXPR.
      	(do_case): Move add_tree call to semantics.c.
      	* parse.y (return_init): Use finish_named_return_value.
      	(for.init.statement): Use finish_expr_stmt.
      	* parse.c: Regenerated.
      	* pt.c (do_pushlevel): Move to semantics.c.
      	(do_poplevel): Likewise.
      	(tsubst_copy): Handle STMT_EXPR instead of BIND_EXPR.
      	(tsubst_expr): Don't expand all the way to RTL here.  Handle
      	RETURN_INIT and CTOR_INITIALIZER.
      	(instantiate_decl): Call expand_body after tsubst'ing into
      	DECL_SAVED_TREE.
      	* semantics.c (expand_stmts): New function.
      	(expanding_p): New variable.
      	(last_expr_type): Likewise.
      	(finish_expr_stmt): Use building_stmt_tree.
      	(begin_if_stmt): Likewise.
      	(finish_if_stmt_cond): Likewise.
      	(finish_then_clause): Likewise.
      	(begin_else_clause): Likewise.
      	(finish_else_clause): Likewise.
      	(begin_while_stmt): Likewise.
      	(finish_while_stmt_cond): Likewise.
      	(finish_while_stmt): Likewise.
      	(finish_do_body): Likewise.
      	(finish_do_stmt): Likewise.
      	(finish_return_stmt): Likewise.
      	(begin_for_stmt): Likewise.
      	(fnish_for_init_stmt): Likewise.
      	(finish_for_cond): Likewise.
      	(finish_for_expr): Likewise.
      	(finish_for_stmt): Likewise.
      	(finish_break_stmt): Likewise.
      	(finish_continue_stmt): Likewise.
      	(finish_switch_cond): Likewise.
      	(finish_switch_stmt): Likewise.
      	(finish_case_label): Call add_tree here if necessary.
      	(finish_goto_statement): Use building_stmt_tree.
      	(begin_try_block): Likewise.
      	(begin_function_try_block): Likewise.
      	(finish_try_block): Likewise.
      	(finish_function_try_block): Likewise.
      	(finish_handler_sequence): Likewise.
      	(finish_function_handler_sequence): Likewise.
      	(begin_handler): Likewise.
      	(finish_handler_parms): Likewise.
      	(finish_handler): Likewise.
      	(begin_compound_stmt): Likewise.
      	(finish_compound_stmt): Likewise.
      	(finish_asm_stmt): Likewise.
      	(finish_label_stmt): Likewise.
      	(finish_named_return_value): New function.
      	(setup_vtbl_ptr): Moved here from decl2.c.
      	(do_pushlevel): Moved here from pt.c.
      	(do_poplevel): Likewise.
      	(begin_stmt_expr): Use building_stmt_tree.
      	(finish_stmt_expr): Likewise.  Build a STMT_EXPR, not a BIND_EXPR,
      	when building_stmt_tree.
      	(begin_stmt_tree): New function.
      	(finish_stmt_tree): Likewise.
      	(expand_stmt): Likewise.
      	(expand_body): Likewise.
      	* tree.c (build_cplus_method_type): Make sure the argument types
      	end up on the same obstack as the METHOD_TYPE.
      	(search_tree): Handle COMPOUND_EXPR, MODIFY_EXPR,
      	THROW_EXPR, STMT_EXPR.
      	(mapcar): Break out common cases.  Handle COMPOUND_EXPR,
      	MODIFY_EXPR, THROW_EXPR, STMT_EXPR, RTL_EXPR.  Abort, rather than
      	sorry, if an unsupported node is encountered.
      	* typeck.c (require_complete_type_in_void): Handle BIND_EXPR.
      	(c_expand_return): Don't call add_tree here.
      
      From-SVN: r28729
      Mark Mitchell committed
    • tree.c (type_hash_add): Use permalloc to allocate nodes in the hashtable. · 63ebc275
      	* tree.c (type_hash_add): Use permalloc to allocate nodes in the
      	hashtable.
      
      From-SVN: r28728
      Mark Mitchell committed
    • configure: Rebuilt. · 086920c3
      	* configure: Rebuilt.
      	* configure.in: Set DIVIDESPEC to empty string if compiler does
      	not support -fuse-divide-subroutine.
      
      From-SVN: r28727
      Tom Tromey committed
    • gcc_update: New file. · ecdea017
      	* gcc_update: New file.
      	* egcs_update: Renamed to gcc_update.
      
      From-SVN: r28726
      Gerald Pfeifer committed
    • * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define. · 87d9d860
      From-SVN: r28725
      J"orn Rennecke committed
    • Allow machine dependent reorganisation pass to place information into the RTL · 88924698
      dump file if it so wishes.
      
      From-SVN: r28723
      Nick Clifton committed
    • Daily bump. · 6c26cda2
      From-SVN: r28719
      Jeff Law committed
    • Fix typo in last change · 497fa9d3
      From-SVN: r28718
      Mark Mitchell committed
  4. 15 Aug, 1999 5 commits
  5. 14 Aug, 1999 6 commits
    • Mumit Khan <khan@xraylith.wisc.edu> · f4ab28e3
              * configure.in: Handle --disable/enable-win32-registry.
              * install.texi: Document --disable/enable-win32-registry.
              * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
              (WIN32_REGISTRY_KEY): New macro.
              * prefix.c: Use to enable/disable win32-specific code.
              (lookup_key): Use versioned key.
              * configure: Regenerate.
              * config.in: Likewise.
      
      From-SVN: r28712
      Mumit Khan committed
    • resolve.cc (_Jv_PrepareClass): Use ClassLoader::resolveClass0. · efc3b511
      1999-08-14  Per Bothner  <per@bothner.com>
      
      	* resolve.cc (_Jv_PrepareClass): Use ClassLoader::resolveClass0.
      	* java/lang/natClass.cc (initializeClass): Likewise.
      	* java/lang/ClassLoader.java (resolveClass0): New static method.
      	(resolveClass): Call resolveClass0.
      	(findSystemClass): No longer static.
      
      From-SVN: r28711
      Per Bothner committed
    • Speed up Koenig lookup. · 2c169bab
      	* decl.c (unqualified_namespace_lookup): Nonstatic.  Add spacep parm
      	to return namespaces we've looked at.
      	* decl2.c (lookup_using_namespace): Likewise.
      	(add_function): Don't call ovl_member.
      	(lookup_arg_dependent): Initialize k.namespaces to the list of
      	namespaces seen in unqualified lookup.
      	* call.c (equal_functions): Move here from tree.c.
      	(joust): Use it to handle duplicate candidates.
      	* tree.c (ovl_member): Use ==.
      
      From-SVN: r28710
      Jason Merrill committed
    • cp-tree.def (DECL_STMT): Make it smaller. · 9188c363
      	* cp-tree.def (DECL_STMT): Make it smaller.
      	* cp-tree.h (lang_decl_flags): Move saved_tree to ...
      	(lang_decl): ... here.  Add next.
      	(DECL_SAVED_TREE): Adjust accordingly.
      	(DECL_IMPLICIT_TYPEDEF_P): New macro.
      	(SET_DECL_IMPLICIT_TYPEDEF_P): Likewise.
      	(DECL_STMT_DECL): Likewise.
      	(create_implicit_typedef): New function.
      	(maybe_push_decl): Likewise.
      	(tsubst_default_argument): New function.
      	(at_function_scope_p): Likewise.
      	(add_decl_stmt): Likewise.
      	(push_permanent_obstack): Likewise.
      	* call.c (convert_default_arg): Use tsubst_default_argument.
      	* class.c (add_method): Use push_permanent_obstack.
      	(build_self_reference): Create a TEMPLATE_DECL for the
      	self-reference, if necessary.
      	* decl.c (pseudo_global_level_p): Only look at the current binding
      	level.
      	(push_binding): Use push_permanent_obstack.
      	(create_implicit_typedef): New function.
      	(pushtag): Use it.
      	(duplicate_decls): Use push_permanent_obstack.
      	(maybe_push_decl): New function.
      	(start_decl): Use it.  Remove dead code.  Use add_decl_stmt.
      	(start_decl_1): Remove dead code.
      	(cp_finish_decl): Remove DECL_STMT handling here.  Don't use
      	pseudo_global_level_p.
      	(grokvardecl): Create DECL_LANG_SPECIFIC for a VAR_DECL in a
      	template.
      	(grokdeclarator): Likewise, for TYPE_DECLs.  Don't use
      	pseudo_global_level_p.
      	* decl2.c (grokfield): Call push_template_decl for a TYPE_DECL in
      	a template.
      	(get_sentry): Use push_permanent_obstack.
      	* dump.c (dequeue_and_dump): Enable DECL_STMT.
      	* except.c (call_eh_info): Use push_permanent_obstack.
      	(build_eh_type_ref): Likewise.
      	(do_pop_exception): Likewise.
      	(expand_eh_spec): Likewise.
      	(alloc_eh_object): Likewise.
      	(expand_throw): Likewise.
      	* init.c (build_java_class_ref): Likewise.
      	* lex.c (get_time_identifier): Likewise.
      	(free_lang_decl_chain): Correct type.
      	(retrofit_lang_decl): Adjust accordingly.
      	(build_lang_field_decl): Likewise.
      	* lex.h (free_lang_decl_chain): Likewise.
      	* parse.y (lang_extdef): Don't use pseudo_global_level_p.
      	* parse.c: Regenerated.
      	* pt.c (tsubst_default_arguments): New function.
      	(retrieve_local_specialization): Likewise.
      	(register_local_specialization): Likewise.
      	(push_template_decl_real): Use DECL_IMPLICIT_TYPEDEF_P.  Just use
      	pseudo_global_level_p to determine whether or not a template is
      	primary.
      	(lookup_template_class): Likewise.  Use create_implicit_typedef.
      	(instantiate_class_template): Call tsubst_default_arguments for
      	member functions, if appropriate.
      	(tsubst_default_argument): New function.
      	(tsubst_decl): Use it.  Change TYPE_DECL handling to match VAR_DECLs.
      	* search.c (at_function_scope_p): New function.
      	* semantics.c (finish_asm_stmt): Use push_permanent_obstack.
      	(finish_label_stmt): Likewise.
      	(add_decl_stmt): New function.
      	(begin_class_definition): Likewise.
      	(finish_typeof): Likewise.
      	* tree.c (copy_template_template_parm): Likewise.
      	(copy_to_permanent): Likewise.
      	(push_permanent_obstack): Define.
      	(mark_addressable): Use it.
      	* typeck.c (mark_addressable): Likewise.
      
      From-SVN: r28709
      Mark Mitchell committed
    • Daily bump. · 0d4255d1
      From-SVN: r28708
      Jeff Law committed
    • cpplib.c (read_line_number): New fn, split out of... · d3a34a0a
      	* cpplib.c (read_line_number): New fn, split out of...
      	(do_line): Here.
      
      From-SVN: r28707
      Jason Merrill committed
  6. 13 Aug, 1999 4 commits