1. 17 Jul, 2003 17 commits
    • c-decl.c: Fix typos in several comments. · eb1dfbb2
      	* c-decl.c: Fix typos in several comments.  Remove all
      	#if 0 blocks; reindent as needed.  Remove unused argument
      	to declare_parm_level; all callers changed.
      	* c-parse.in: Update calls to declare_parm_level.  Avoid
      	issuing a double warning in some circumstances.
      	* c-typeck.c: Update calls to declare_parm_level.
      	* c-tree.h: Update prototype of declare_parm_level.
      
      	* c-pragma.c (apply_pragma_weak): Don't complain about a
      	redundant #pragma weak.
      
      	* objc/objc-act.c (forward_declare_categories,
      	build_selector_reference_decl, build_class_reference_decl,
      	build_objc_string_decl, synth_forward_declarations,
      	build_protocol_reference): Set TREE_PUBLIC on synthetic
      	forward decl to 0, consistent with eventual definition.
      	Correct comments to match.
      
      cp:
      	* pt.c (get_bindings): Make definition consistent with
      	forward declaration.
      
      From-SVN: r69519
      Zack Weinberg committed
    • inclhack.def (solaris_mutex_init_2): Escape braces in regexp that don't form a range expression. · 78ff95dc
      	* fixinc/inclhack.def (solaris_mutex_init_2): Escape braces
      	in regexp that don't form a range expression.
      	* fixinc/fixincl.def: Regenerate.
      
      From-SVN: r69517
      Zack Weinberg committed
    • re PR target/10907 ([IA64] gcc violates the ia64 ABI) · b23ba0b8
              PR target/10907
              * config/ia64/ia64.c (ia64_epilogue_uses): GP is live at end
              even with !TARGET_CONST_GP.
              (ia64_function_ok_for_sibcall): Reject non-local functions.
      
      From-SVN: r69515
      Richard Henderson committed
    • Fix typo in date · 2a39bedb
      From-SVN: r69514
      Kriang Lerdsuwanakij committed
    • re PR c++/7809 (befriending inaccessible names) · 41c5ee06
      	PR c++/7809
      	* friend.c (add_friend): Check access for member functions
      	and templates.
      
      	* g++.dg/parse/access3.C: New test.
      
      From-SVN: r69513
      Kriang Lerdsuwanakij committed
    • guide.html: Fix typo. · 83a279e4
      2003-07-17  Phil Edwards  <pme@gcc.gnu.org>
      
      	* docs/doxygen/guide.html:  Fix typo.
      
      From-SVN: r69512
      Phil Edwards committed
    • c-common.c (c_estimate_num_insns_1): Don't handle METHOD_CALL_EXPR. · d944c82d
      2003-07-17  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* c-common.c (c_estimate_num_insns_1): Don't handle
      	METHOD_CALL_EXPR.
      	* expr.c (safe_from_p): Likewise.
      	* gengtype.c (adjust_field_tree_exp): Likewise.
      	* stmt.c (warn_if_unused_value): Likewise
      	* tree.c (first_rtl_op): Likewise.
      	* tree.def: Don't define METHOD_CALL_EXPR.
      	* java/lang.c (java_estimate_num_insns_1): Don't handle
      	METHOD_CALL_EXPR.
      
      From-SVN: r69511
      Steven Bosscher committed
    • re PR c++/11384 (missing implicit instantiation of template static members) · d424f7ff
      2003-06-17  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR c++/11384
              * g++.dg/init/init-ref4.C: New test.
      
      From-SVN: r69510
      Andrew Pinski committed
    • re PR c++/10668 (assigning address of non-static member variable to pointer) · ef292d4f
      	PR c++/10668
      	* typeck.c (build_class_member_access_expr): Improve diagnostic.
      
      From-SVN: r69509
      Gabriel Dos Reis committed
    • re PR other/11466 ('-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x) · 54284728
      	PR other/11466
      	* doc/invoke.texi (SPARC Options): Document "-mlittle-endian"
      	and its restrictions for the SPARC64 port.
      	Move the entry of "-mimpure-text" before that of "-mv8".
      
      From-SVN: r69497
      Eric Botcazou committed
    • install.texi (*-*-solaris2*): Document the step-by-step procedure to bootstrap and install. · bc890961
      	* doc/install.texi (*-*-solaris2*): Document the step-by-step
      	procedure to bootstrap and install.
      	Document the preference for the legacy Sun tools in /usr/bin
      	over the POSIX tools in /usr/xpg4/bin for the build process.
      
      Co-Authored-By: Phil Edwards <phil@jaj.com>
      
      From-SVN: r69495
      Eric Botcazou committed
    • c.opt: Document Uncodumented; use it. · f2ac9964
      	* c.opt: Document Uncodumented; use it.  Document ObjC options.
      	* opts.c (print_filtered_help): Skip undocumented switches.
      	* opts.h (CL_UNDOCUMENTED): New.
      	* opts.sh: Handle Undocumented.
      	* toplev.c (documented_lang_options): Prevent its becoming empty.
      f:
      	* lang-options.h: Remove.
      	* lang.opt: Document most options.
      objc:
      	* lang-options.h: Remove.
      
      From-SVN: r69494
      Neil Booth committed
    • re PR c++/11547 (ICE with const temporaries) · 39703eb9
      	PR c++/11547
      	* cp-tree.h (DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P): New
      	macro.
      	(DECL_PRETTY_FUNCTION_P): Use VAR_DECL_CHECK.
      	* decl.c (duplicate_decls): Merge
      	DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P.
      	* parser.c (cp_parser_postfix_expression): Adjust call to
      	cp_parser_initializer_list and
      	cp_parser_parenthesized_expression_list.
      	(cp_parser_parenthesized_expression_list): Add non_constant_p.
      	(cp_parser_new_placement): Adjust call to
      	cp_parser_parenthesized_expression_list.
      	(cp_parser_direct_new_declarator): Likewise.
      	(cp_parser_conditional_expression): Remove.
      	(cp_parser_constant_expression): Parse an assignment-expression,
      	not a conditional-expression.
      	(cp_parser_simple_declaration): Resolve expression/declaration
      	ambiguity more quickly.
      	(cp_parser_mem_initializer): Adjust call to
      	cp_parser_parenthesized_expression_list.
      	(cp_parser_init_declarator): Keep track of whether or not the
      	initializer is a constant-expression.
      	(cp_parser_initializer): Add non_constant_p parameter.
      	(cp_parser_initializer_clause): Likewise.
      	(cp_parser_initializer_list): Likewise.
      	(cp_parser_attribute_list): Adjust call to
      	cp_parser_parenthesized_expression_list.
      	(cp_parser_functional_cast): Likewise.
      	* pt.c (tsubst_decl): Copy
      	DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P.
      	(tsubst_expr): Tweak use of DECL_PRETTY_FUNCTION_P.
      	* semantics.c (finish_id_expression): Use
      	DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P.
      
      	PR c++/11547
      	* g++.dg/parse/constant3.C: New test.
      	* g++.dg/parse/crash7.C: Likewise.
      
      From-SVN: r69493
      Mark Mitchell committed
    • pod_char_traits.h: Add state template argument. · db5eed18
      
      2003-07-16  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/ext/pod_char_traits.h: Add state template argument.
      
      From-SVN: r69492
      Benjamin Kosnik committed
    • locale_facets.h (__num_base::_S_atoms_in): Add -+xX. · 7942afdc
      
      2003-07-16  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
      	(num_get::_M_convert_int): To _M_insert_int.
      	(num_get::_M_convert_float): To _M_insert_float.
      	* include/bits/locale_facets.tcc (num_get::_M_extract_float):
      	Use caches for ctype, num_get.
      	(num_get::_M_extract_int): Same.
      	(num_get::get(bool)): Same.
      	(__verify_grouping): Use size_t.
      	* src/locale-inst.cc: Update.
      	* src/locale.cc: Adjust _S_atoms_in.
      
      From-SVN: r69491
      Benjamin Kosnik committed
    • loop.c (check_ext_dependent_givs): Pass const struct loop * instead of struct… · 03988cac
      loop.c (check_ext_dependent_givs): Pass const struct loop * instead of struct loop_info * as argument.
      
      	* loop.c (check_ext_dependent_givs): Pass const struct loop *
      	instead of struct loop_info * as argument.  Accept BIVs with
      	increment +/- 1 provided there is a friendly exit test against
      	a loop-invariant value.
      	(strength_reduce): Adapt call to check_ext_dependent_givs.
      
      From-SVN: r69489
      Ulrich Weigand committed
    • Daily bump. · 1129e7f4
      From-SVN: r69487
      GCC Administrator committed
  2. 16 Jul, 2003 23 commits