1. 04 Feb, 2002 1 commit
    • xref.c: Remove. · 9780c24f
              * xref.c: Remove.
              * Make-lang.in (CXX_OBJS): Remove cp/xref.o
              (cp/xref.o): Remove dependencies.
              * class.c (finish_struct_1, check_methods): Don't call xref fns.
              (finish_struct_1): Likewise.
              * friend.c (make_friend_class): Likewise.
              * lex.c (cxx_init, cxx_finish, extract_interface_info): Likewise.
              * spew.c (read_process_identifier): Likewise.
      
      From-SVN: r49472
      Jason Merrill committed
  2. 01 Feb, 2002 7 commits
  3. 31 Jan, 2002 2 commits
  4. 29 Jan, 2002 2 commits
    • re PR other/1502 (Nonexistent -W options not diagnosed) · ffdeea47
      	PR other/1502:
      	* cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
      	don't ignore unrecognized -W* options.
      	(cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
      	* cpplib.h (cpp_handle_option): Adjust prototype.
      	* c-decl.c (c_decode_options): Pass 0 as last argument to
      	cpp_handle_option.
      
      	PR c/2896:
      	* gcc.c (cpp_unique_options): Split from cpp_options.
      	(cpp_options): Source cpp_unique_options.
      	(default_compilers): Use cpp_unique_options instead of cpp_options
      	when used together with cc1_options.
      	(static_specs): Add cpp_unique_options.
      	* objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
      	when used together with cc1_options.
      
      	* decl2.c (cxx_decode_option): Pass 0 as last argument to
      	cpp_handle_option.
      	* lang-specs.h: Use cpp_unique_options instead of cpp_options
      	when used together with cc1_options.
      
      From-SVN: r49315
      Jakub Jelinek committed
    • re PR c++/5132 (NaN = 0.0 * HUGE_VAL fails to compile in templates) · b8b98c66
      cp:
      	PR c++/5132
      	* typeck2.c (digest_init): Make sure non-array core type is
      	instantiated.
      	* decl2.c (reparse_absdcl_as_casts): Just store the type in the
      	constructor, rather than build a new one.
      	(build_expr_from_tree, CONSTRUCTOR case): Be careful with the
      	PURPOSE of constructor elts.
      testsuite:
      	* g++.dg/template/ctor1.C: Add instantiation.
      
      From-SVN: r49314
      Nathan Sidwell committed
  5. 24 Jan, 2002 1 commit
    • Make-lang.in (parse.c): Adjust expected number of shift-reduce conflicts. · 7437519c
      	* Make-lang.in (parse.c): Adjust expected number of
      	shift-reduce conflicts.
      	(decl.o): Depend on diagnostic.h.
      	* decl.c: Include diagnostic.h.
      	(grokdeclarator): Check for null pointer.
      	(finish_function): Don't abort when
      	current_binding_level->parm_flag != 1, if errors have
      	occurred; throw away the statement tree and extra binding
      	levels, and continue.
      	* lex.c (note_list_got_semicolon): Check for null pointer.
      	* method.c (hack_identifier): Just return error_mark_node if
      	value is error_mark_node.
      	* parse.y (primary: TYPEID(type_id)): No need to use
      	TYPE_MAIN_VARIANT here.
      	(handler_seq): Accept an empty list of catch clauses and
      	generate a fake handler block to avoid later crashes.
      	(ansi_raise_identifier): Accept the error token too.
      	* semantics.c (begin_class_definition,
      	finish_class_definition): Check for error_mark_node.
      
      From-SVN: r49163
      Zack Weinberg committed
  6. 23 Jan, 2002 7 commits
  7. 22 Jan, 2002 2 commits
  8. 19 Jan, 2002 1 commit
  9. 17 Jan, 2002 2 commits
    • decl.c (begin_constructor_body, [...]): New fns. · cdd2559c
              * decl.c (begin_constructor_body, begin_destructor_body): New fns.
              (begin_function_body): Call them and keep_next_level.
              * init.c (emit_base_init): Call keep_next_level.
              * semantics.c (setup_vtbl_ptr): Lose.
              * cp-tree.h (struct cp_language_function): Remove vtbls_set_up_p.
              (vtbls_set_up_p): Lose.
              * pt.c (tsubst_expr, CTOR_INITIALIZER): Call emit_base_init.
              * method.c (do_build_copy_constructor): Likewise.
              (synthesize_method): Call finish_mem_initializers.
              * parse.y (nodecls): Likewise.
      
      From-SVN: r48948
      Jason Merrill committed
    • error.c (dump_type_suffix): Print the exception specs before recursing. · ad6b1795
              * error.c (dump_type_suffix): Print the exception specs before
              recursing.
              (dump_function_decl): Here, too.
      
              * cp-tree.h (TMPL_PARMS_DEPTH): Cast to signed HOST_WIDE_INT.
      
      From-SVN: r48947
      Jason Merrill committed
  10. 10 Jan, 2002 4 commits
  11. 09 Jan, 2002 2 commits
  12. 08 Jan, 2002 8 commits
  13. 07 Jan, 2002 1 commit