1. 01 Nov, 1999 1 commit
  2. 31 Oct, 1999 2 commits
  3. 30 Oct, 1999 1 commit
  4. 29 Oct, 1999 2 commits
  5. 28 Oct, 1999 3 commits
    • improve ChangeLog message · 0faff580
      From-SVN: r30249
      Ian Lance Taylor committed
    • rtti.c (build_dynamic_cast_1): Give a better error message for an attempt to… · 0f4d5c1c
      rtti.c (build_dynamic_cast_1): Give a better error message for an attempt to dynamic_cast a polymorphic type.
      
      	* rtti.c (build_dynamic_cast_1): Give a better error message for
      	an attempt to dynamic_cast a polymorphic type.
      
      From-SVN: r30248
      Ian Lance Taylor committed
    • cp-tree.h (make_temp_vec): Remove. · f31c0a32
      	* cp-tree.h (make_temp_vec): Remove.
      	(make_scratch_vec): Likewise.
      	* call.c (add_function_candidate): Use make_tree_vec.
      	(add_conv_candidate): Likewise.
      	(build_builtin_candidate): Likewise.
      	(add_template_candidate_real): Likewise.
      	* class.c (resolve_address_of_overloaded_function): Likewise.
      	* decl.c (start_function): Don't fool with the momentary obstack.
      	(finish_function): Likewise.
      	* init.c (expand_direct_vtbls_init): Likewise.
      	(begin_init_stmts): Likewise.
      	(finish_init_stmts): Likewise.
      	* pt.c (add_to_template_args): Use make_tree_vec.
      	(check_explicit_specialization): Likewise.
      	(coerce_template_parms): Likewise.
      	(lookup_template_class): Don't fool with the momentary obstack.
      	(instantiate_class_template): Likewise.
      	(tsubst_template_arg_vector): Use make_tree_vec.
      	(tsubst_aggr_type): Don't fool with the momentary obstack.
      	(tsubst_decl): Likewise.  Use make_tree_vec.
      	(try_one_overload): Likewise.
      	(try_class_unification):  Don't fool with the momentary obstack.
      	(get_bindings_real): Use make_tree_vec.
      	(set_mangled_name_for_template_decl): Likewise.
      	* rtti.c (synthesize_tinfo_fn): Don't fool with the momentary obstack.
      	* semantics.c (finish_expr_stmt): Likewise.
      	(finish_do_stmt): Likewise.
      	(finish_for_expr): Likewise.
      	(finish_switch_cond): Likewise.
      	(do_pushlevel): Likewise.
      	(do_poplevel): Likewise.
      	* tree.c (make_temp_vec): Remove.
      
      From-SVN: r30225
      Mark Mitchell committed
  6. 27 Oct, 1999 2 commits
  7. 26 Oct, 1999 1 commit
    • tree.h (BLOCK_TYPE_TAGS): Remove. · 2af0ac28
      	* tree.h (BLOCK_TYPE_TAGS): Remove.
      	(BLOCK_END_NOTE): Likewise.
      	(BLOCK_LIVE_RANGE_FLAG): Likewise.
      	(BLOCK_LIVE_RANGE_START): Likewise.
      	(BLOCK_LIVE_RANGE_END): Likewise.
      	(tree_block): Remove live_range_flag, live_range_var_flag, and
      	type_tags.  Remove end_note, live_range_start, and live_range_end.
      	(remember_end_note): Remove prototype.
      	* tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
      	* c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
      	remember_end_note.
      	* ggc-common.c (ggc_mark_tree_children): Don't mark
      	BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
      	* integrate.c (adjust_copied_decl_tree): Remove.
      	* print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
      	* stmt.c (last_block_end_note): Remove.
      	(init_stmt): Don't add a GC root for it.
      	(expand_fixup): Don't set it.
      	(remember_end_note): Remove.
      	(expand_end_bindings): Don't set last_block_end_note.
      
      	* ch-tree.h (remember_end_note): Remove prototype.
      	* decl.c (poplevel): Don't call remember_end_note.
      
      	* decl.c (poplevel): Don't set BLOCK_TYPE_TAGS.  Don't call
      	remember_end_note.
      
      	* com.c (poplevel): Don't call remember_end_note.
      
      	* decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
      	remember_end_note.
      
      From-SVN: r30188
      Mark Mitchell committed
  8. 25 Oct, 1999 1 commit
    • decl.c (push_overloaded_decl_1): Use pushdecl. · f9c4f105
      	* decl.c (push_overloaded_decl_1): Use pushdecl.
      
      	* decl.c (auto_function): Replace #ifdef'd __inline with just
      	plain inline.
      	* lex.c (my_get_run_time): Likeise.
      	(yyprint): Likewise.
      	(identifier_type): Likewise.
      	* method.c (start_squangling): Likewise.
      	(end_squangling): Likewise.
      	(icat): Likewise.
      	(old_backref_index): Likewise.
      	(flush_repeats): Likewise.
      	(issue_ktype): Likewise.
      	* parse.y (empty_parms): Likewise.
      	* parse.c: Regenerated.
      
      From-SVN: r30154
      Mark Mitchell committed
  9. 23 Oct, 1999 1 commit
  10. 22 Oct, 1999 2 commits
  11. 21 Oct, 1999 3 commits
    • calls.c: Include tm_p.h later, so everything we need is defined. · b1474bb7
              * calls.c: Include tm_p.h later, so everything we need is defined.
              * expr.c: Likewise.
              * function.c: Likewise.
      
              * except.c: Include tm_p.h.
      
              * sparc.c: Likewise.
              (dwarf2out_cfi_label): Don't prototype.
              (check_return_regs, epilogue_renumber,
              ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
              ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
              ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
              ultra_schedule_insn): Add static prototype.
              (data_segment_operand, text_segment_operand): Call itself with the
              proper number of arguments.
              (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
      
              * sparc.h: Move all declarations to sparc-protos.h.
              (SELECT_RTX_SECTION):  Pass a missing MODE argument to
              symbolic_operand.
      
              * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
      
              * config/svr4.h (text_section, ctors_section, dtors_section): Add
              Prototypes.
              (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
              ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
              ASM_OUTPUT_ASCII): Constify a char*.
      
              * sparc-protos.h: New file for sparc prototypes.
      
      cp:
              * expr.c: Include tm_p.h.
      
      From-SVN: r30122
      Kaveh R. Ghazi committed
    • cp-tree.h (SCOPE_PARTIAL_P): New macro. · 8f471b0d
      	* cp-tree.h (SCOPE_PARTIAL_P): New macro.
      	(pushlevel_temporary): Remove.
      	(add_scope_stmt): New function.
      	* decl.c (pushlevel_temporary): Remove.
      	(poplevel): Use add_scope_stmt.
      	(start_decl_1): Likewise.
      	* semantics.c (add_scope_stmt): New function.
      	(do_pushlevel): Use it.
      	(do_poplevel): Use it.
      	(expand_stmt): Check SCOPE_PARTIAL_P.
      
      From-SVN: r30118
      Mark Mitchell committed
    • cp-tree.def (EMPTY_CLASS_EXPR): New tree node. · 699ed0ce
      	* cp-tree.def (EMPTY_CLASS_EXPR): New tree node.
      	* call.c (build_call): Use EMPTY_CLASS_EXPR instead of RTL_EXPR.
      	* expr.c (cplus_expand_expr): Expand it.
      	* ir.texi: Document EMPTY_CLASS_EXPR.
      
      From-SVN: r30116
      Mark Mitchell committed
  12. 20 Oct, 1999 1 commit
  13. 19 Oct, 1999 1 commit
    • method.c (PARM_CAN_BE_ARRAY_TYPE): Remove. · 858a0ff1
      	* method.c (PARM_CAN_BE_ARRAY_TYPE): Remove.
      	(mangling_flags): New type.
      	(build_overload_int): Change prototype.
      	(build_overload_value): Likewise.
      	(numeric_output_need_bar): Improve comment.
      	(mangle_expression): New function, broken out from ...
      	(build_overload_int): Here.
      	(build_overload_value): Adjust for use of mangling flags.  Don't
      	warn about real-valued template parameters here.  Do handle
      	complex expressions involving real-valued template parameters.
      	(build_template_parm_names): Encase non-type template parameters
      	in underscores, if necessary.
      	(process_overload_item): Remove conditional on
      	PARM_CAN_BE_ARRAY_TYPE.
      
      From-SVN: r30090
      Mark Mitchell committed
  14. 17 Oct, 1999 1 commit
  15. 16 Oct, 1999 1 commit
  16. 14 Oct, 1999 2 commits
  17. 13 Oct, 1999 3 commits
  18. 12 Oct, 1999 1 commit
  19. 10 Oct, 1999 2 commits
    • checked in wrong version · 07b983cd
      From-SVN: r29892
      Jason Merrill committed
    • ansidecl.h (HAVE_GCC_VERSION): New macro. · b30bce6b
      include:
      	* ansidecl.h (HAVE_GCC_VERSION): New macro.  Use instead of
      	explicitly testing __GNUC__ and __GNUC_MINOR__.
      
      	(ATTRIBUTE_PRINTF): Use `__format__', not `format'.
      
      gcc:
      	* cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
      	__GNUC__ and __GNUC_MINOR__.
      
      	* gansidecl.h: Likewise.
      
      	* rtl.c: Likewise.
      
      	* rtl.h: Likewise.
      
      	* toplev.h: Likewise.
      
      	* tree.c: Likewise.
      
      	* tree.h: Likewise.
      
      	* varray.c: Likewise.
      
      	* varray.h: Likewise.
      
      cp:
      	* cp-tree.h: Use HAVE_GCC_VERSION instead of explicitly testing
      	__GNUC__ and __GNUC_MINOR__.
      
      f:
      	* proj.h: Use HAVE_GCC_VERSION instead of explicitly testing
      	__GNUC__ and __GNUC_MINOR__.  Don't define BUILT_WITH_270.
      	Define macro UNUSED in terms of ATTRIBUTE_UNUSED.
      
      From-SVN: r29890
      Kaveh R. Ghazi committed
  20. 09 Oct, 1999 1 commit
  21. 08 Oct, 1999 4 commits
  22. 07 Oct, 1999 2 commits
  23. 06 Oct, 1999 2 commits
    • cp-tree.h (CLASSTYPE_VFIELD): Remove. · d3a3fb6a
      	* cp-tree.h (CLASSTYPE_VFIELD): Remove.
      	* call.c (build_vfield_ref): Use TYPE_VFIELD, not
      	CLASSTYPE_VFIELD.
      	* class.c (get_vfield_offset): Likewise.
      	(finish_base_struct): Likewise.
      	(modify_one_vtable): Likewise.
      	(fixup_vtable_deltas): Likewise.
      	(finish_struct_1): Likewise.
      	* init.c (expand_virtual_init): Likewise.
      	* search.c (lookup_field_1): Likewise.
      	(expand_upcast_fixups): Likewise.
      	* typeck.c (build_component_ref): Likewise.
      	(build_binary_op_nodefault): Likewise.
      
      	* dump.c (dqueue_and_dump): Dump TYPE_VFIELD.
      	* ir.texi: Document TYPE_VFIELD.
      
      From-SVN: r29843
      Mark Mitchell committed
    • decl.c (grokdeclarator): Only warn about non-zero arrays if !in_system_header… · a4156b88
      decl.c (grokdeclarator): Only warn about non-zero arrays if !in_system_header (linux socketbits.h can...
      
      	* decl.c (grokdeclarator): Only warn about non-zero arrays if
      	!in_system_header (linux socketbits.h can give this for
      	__cmsg_data, which is using a GNU extension).
      
      From-SVN: r29842
      Brendan Kehoe committed