1. 07 Feb, 1999 1 commit
  2. 06 Feb, 1999 1 commit
  3. 05 Feb, 1999 3 commits
  4. 03 Feb, 1999 1 commit
  5. 02 Feb, 1999 1 commit
  6. 01 Feb, 1999 3 commits
  7. 31 Jan, 1999 2 commits
    • flags.h: Declare flag_no_ident. · 3bfb5aec
      a
      1999-01-31 17:52 -0500  Zack Weinberg  <zack@midnite.ec.rhno.columbia.edu>
      	* flags.h: Declare flag_no_ident.
      	* toplev.c: Define flag_no_ident.  Process -f(no-)ident here.
      	* c-decl.c: Don't define flag_no_ident.  Don't process
                -f(no-)ident switches here.
      	* ch/decl.c: Likewise.
      	* cp/decl2.c: Likewise.
      	* c-tree.h: Don't declare flag_no_ident.
      	* ch/ch-tree.h: Likewise.
      	* cp/cp-tree.h: Likewise.
      	* config/elfos.h (ASM_FILE_END): Output final .ident directive
                only if !flag_no_ident.
      	* config/ptx4.h: Likewise.
      	* config/svr4.h: Likewise.
      	* config/alpha/elf.h: Likewise.
      	* config/arm/linux-elf.h: Likewise.
      	* config/i386/sco5.h: Likewise.
      	* config/i860/fx2800.h: Likewise.
      	* config/mips/gnu.h: Likewise.
      	* config/i386/osfrose.h: Likewise.
      	* gcc.c (C specs): Map -Qn to -fno-ident.
      	* ch/lang-specs.h: Likewise.
      	* cp/lang-specs.h: Likewise.
      	* f/lang-specs.h: Likewise.
      	* objc/lang-specs.h: Likewise.
      	* java/lang-specs.h: Likewise.
      
      From-SVN: r24945
      Zack Weinberg committed
    • flags.h: Declare flag_no_ident. · be163a70
       
      1999-01-31 17:52 -0500  Zack Weinberg  <zack@midnite.ec.rhno.columbia.edu>
      	* flags.h: Declare flag_no_ident.
      	* toplev.c: Define flag_no_ident.  Process -f(no-)ident here.
      	* c-decl.c: Don't define flag_no_ident.  Don't process
                -f(no-)ident switches here.
      	* ch/decl.c: Likewise.
      	* cp/decl2.c: Likewise.
      	* c-tree.h: Don't declare flag_no_ident.
      	* ch/ch-tree.h: Likewise.
      	* cp/cp-tree.h: Likewise.
      	* config/elfos.h (ASM_FILE_END): Output final .ident directive
                only if !flag_no_ident.
      	* config/ptx4.h: Likewise.
      	* config/svr4.h: Likewise.
      	* config/alpha/elf.h: Likewise.
      	* config/arm/linux-elf.h: Likewise.
      	* config/i386/sco5.h: Likewise.
      	* config/i860/fx2800.h: Likewise.
      	* config/mips/gnu.h: Likewise.
      	* config/i386/osfrose.h: Likewise.
      	* gcc.c (C specs): Map -Qn to -fno-ident.
      	* ch/lang-specs.h: Likewise.
      	* cp/lang-specs.h: Likewise.
      	* f/lang-specs.h: Likewise.
      	* objc/lang-specs.h: Likewise.
      	* java/lang-specs.h: Likewise.
      
      From-SVN: r24943
      Zack Weinberg committed
  8. 28 Jan, 1999 1 commit
  9. 27 Jan, 1999 1 commit
  10. 26 Jan, 1999 3 commits
  11. 25 Jan, 1999 2 commits
  12. 24 Jan, 1999 3 commits
  13. 21 Jan, 1999 3 commits
    • cp-tree.h (PUSH_GLOBAL): New macro. · 7bdbfa05
      	* cp-tree.h (PUSH_GLOBAL): New macro.
      	(PUSH_LOCAL): Likewise.
      	(PUSH_USING): Likewise.
      	(namespace_bindings_p): Declare.
      	(push_overloaded_decl): Likewise.
      	* decl.c (push_overloaded_decl): Don't make it static.  Check for
      	illegal declarations after using declarations here.
      	(namespace_bindings_p): Likewise.
      	(duplicate_decls): Don't consider declarations from different
      	namespaces to be the same.
      	(pushdecl): Use symbolic PUSH_ constants in calls to
      	push_overloaded_decl.
      	(push_overloaded_decl_1): Likewise.
      	* decl2.c (validate_nonmember_using_decl): Tweak `std' handling.
      	(do_nonmember_using_decl): Check for illegal using declarations
      	after ordinary declarations here.
      	(do_local_using_decl): Call pushdecl to insert declarations.
      
      From-SVN: r24812
      Mark Mitchell committed
    • cp-tree.h (PARM_DECL_EXPR): Delete. · 297e73d8
      	* cp-tree.h (PARM_DECL_EXPR): Delete.
      	(convert_default_arg): Change prototype.
      	(check_default_argument): Declare.
      	(search_tree): Likewise.
      	* call.c (convert_default_arg): Take the function to which the
      	default argument belongs as a parameter, and do any necessary
      	instantiation here, instead of ...
      	(build_over_call): Here.
      	* decl.c (local_variable_p): New function.
      	(check_default_argument): Likewise, split out and tidied from ...
      	(grokparms): Here.
      	* error.c (dump_expr): Don't set PARM_DECL_EXPR.
      	* pt.c (tsubst_call_declarator_parms): New function.
      	(for_each_template_parm): Handle ARRAY_REFs.  Do the obvious thing
      	with CALL_EXPRs, rather than trying to be clever.
      	(tsubst): Use tsubst_call_declarator_parms.
      	* tree.c (search_tree): Don't make it static.
      	* typeck.c (convert_arguments): Use new interface to
      	convert_default_arg.
      
      From-SVN: r24803
      Mark Mitchell committed
  14. 20 Jan, 1999 1 commit
    • error.c (dump_function_decl): Don't print the argument types for a function when… · 61cd552e
      error.c (dump_function_decl): Don't print the argument types for a function when the verbosity level is negative.
      
      	* error.c (dump_function_decl): Don't print the argument types for
      	a function when the verbosity level is negative.
      	* call.c (build_over_call): Check format attributes at call-time.
      	* pt.c (tsubst_copy): Fix comment.
      	(unify): Don't allow unification with variable-sized arrays.
      	* semantics.c (finish_stmt_expr): When processing a template make
      	the BIND_EXPR long-lived.
      
      From-SVN: r24788
      Mark Mitchell committed
  15. 19 Jan, 1999 1 commit
  16. 18 Jan, 1999 3 commits
    • typeck.c (build_component_ref): Wrap an OVERLOAD around a unique non-static member function. · e6f62286
      	* typeck.c (build_component_ref): Wrap an OVERLOAD around a unique
      	non-static member function.
              * class.c (instantiate_type): Only diagnose illegal address of member
              function if complaining.
              * decl.c (lookup_name_real): Remove duplicate code.
      
      From-SVN: r24750
      Jason Merrill committed
    • tree.c (copy_template_template_parm): Use permanent_obstack. · 6b9b6b15
      	* tree.c (copy_template_template_parm): Use permanent_obstack.
              * pt.c (unify): Remove restrictions on deduction of argument
              of template template parameters.
      	* rtti.c (build_dynamic_cast_1): Resolve OFFSET_REF exprs.
      	* class.c (resolve_address_of_overloaded_function): Show list of
      	all candidates, when none of them match.
      
      From-SVN: r24749
      Jason Merrill committed
    • typeck.c (comp_ptr_ttypes_reinterpret): Per ANSI, tighten up definition of… · ddaed37e
      typeck.c (comp_ptr_ttypes_reinterpret): Per ANSI, tighten up definition of 'casting away const' in reinterpret_cast<>.
      
      	* typeck.c (comp_ptr_ttypes_reinterpret): Per ANSI, tighten up
      	definition of 'casting away const' in reinterpret_cast<>.
      	* cvt.c: Add include for decl.h, remove extern for
      	static_aggregates which is now provided by decl.h.
      	* Makefile.in (cvt.o): Add dependency for decl.h and missing
      	dependencies for convert.h and flags.h.
      	* decl2.c (do_dtors): Set current location to that of the
      	decl, for sensible diagnostics and debugging.
      	(check_classfn): Issue `incomplete type' error, if
      	class is not defined.
      	* cp-tree.h: Add prototype for bound_pmf_p.
      
      From-SVN: r24748
      Jason Merrill committed
  17. 16 Jan, 1999 2 commits
  18. 15 Jan, 1999 1 commit
  19. 14 Jan, 1999 1 commit
  20. 13 Jan, 1999 1 commit
    • decl.c (grokdeclarator): Undo 1998-12-14 change. · 5db698f6
      	* decl.c (grokdeclarator): Undo 1998-12-14 change.
      	* tree.c (build_cplus_array_type_1): Likewise.
      	* pt.c (instantiate_class_template): Remove misleading comment.
      	(tsubst_aggr_type): Substitute if there are template parameters,
      	regardless of whether or not they use template arguments.
      	(unify): Likewise, but for unification.
      
      From-SVN: r24656
      Mark Mitchell committed
  21. 12 Jan, 1999 1 commit
  22. 11 Jan, 1999 1 commit
  23. 06 Jan, 1999 3 commits
    • cp-tree.h (IDENTIFIER_TYPENAME_P): Use OPERATOR_TYPENAME_FORMAT here. · 4c571114
              * cp-tree.h (IDENTIFIER_TYPENAME_P): Use OPERATOR_TYPENAME_FORMAT
      	here.
      	(lang_type): Add is_partial_instantiation.  Decrease width of
      	dummy.
      	(PARTIAL_INSTANTIATION_P): New macro.
      	(OPERATOR_TYPENAME_P): Remove.
      	* decl.c (unary_op_p): Use IDENTIFIER_TYPENAME_P, not
      	OPERATOR_TYPENAME_P.
      	(grok_op_properties): Likewise.
      	* friend.c (do_friend): Handle friends that are member functions
      	correctly.
      	* lex.c (init_parse): Use OPERATOR_TYPENAME_FORMAT.
      	* pt.c (instantiate_class_template): Rework for clarity.  Avoid
      	leaving TYPE_BEING_DEFINED set in obscure cases.  Don't do
      	any more partial instantiation than is absolutely necessary for
      	implicit typename.  Set PARTIAL_INSTANTIATION_P.
      	(tsubst_decl): Use IDENTIFIER_TYPENAME_P.
      	* semantics.c (begin_class_definition): Handle partial
      	specializations of a type that was previously partially
      	instantiated.
      
      From-SVN: r24548
      Mark Mitchell committed
    • Copyright fixes. · c12f5242
      From-SVN: r24537
      Jeff Law committed
    • g++spec.c (LIBSTDCXX): Provide default definition. · 18cd4ded
              * g++spec.c (LIBSTDCXX): Provide default definition.
              (lang_specific_driver): Use LIBSTDCXX instead of "-lstdc++".
      
      From-SVN: r24509
      Mark Elbrecht committed