1. 04 Oct, 2004 9 commits
    • Convert diagnostics to use quoting flag q 3/n · 2d01edd7
      cp/
              Convert diagnostics to use quoting flag q 3/n
              * decl.c (pop_label, duplicate_decls,
              redeclaration_error_message,
              redeclaration_error_message, lookup_label, check_goto,
              make_typename_type, make_unbound_class_template,
              fixup_anonymous_aggr, check_tag_decl, start_decl,
              start_decl_1,
              grok_reference_init, layout_var_decl, maybe_commonize_var,
              check_for_uninitialized_const_var, reshape_init_array,
              reshape_init, check_initializer, cp_finish_decl,
              member_function_or_else, bad_specifiers, grokfndecl,
              grokvardecl,
              check_static_variable_definition, compute_array_index_type,
              create_array_type_for_decl,
              check_special_function_return_type,
              grokdeclarator, check_default_argument, grokparms,
              grok_ctor_properties, grok_op_properties,
              check_elaborated_type_specifier, xref_tag, finish_enum,
              build_enumerator, check_function_type,
              start_preparsed_function,
              store_parm_decls): Use quoting formats.
              * decl2.c (grok_array_decl, delete_sanity,
              check_member_template,
              check_java_method, check_classfn,
              finish_static_data_member_decl,
              grokfield, grokbitfield, grok_function_init,
              build_anon_union_vars, coerce_new_type, coerce_delete_type,
              check_default_args): Likewise.
              * parser.c (cp_parser_decl_specifier_seq): Likewise.
      
      testsuite/
              * g++.dg/template/local1.C: Adjust quoting marks in
              testing for diagnostics.
              * g++.dg/tls/diag-2.C: Likewise.
              * g++.dg/other/error8.C: Likewise.
      
      From-SVN: r88478
      Gabriel Dos Reis committed
    • dwarf2.h (dwarf_calling_convention): Add GNU prefix to locally defined enum. · b9e6959b
      2004-10-01  Eric Christopher  <echristo@redhat.com>
      
      	* dwarf2.h (dwarf_calling_convention): Add GNU prefix to
      	locally defined enum.
      	* dwarf2out.c (add_calling_convention_attribute): Don't
      	emit DW_CC_normal.
      
      From-SVN: r88477
      Eric Christopher committed
    • MAINTAINERS (Various Maintainers): Move the "windows, cygwin, mingw" maintainer to ... · 13e5d623
      	* MAINTAINERS (Various Maintainers): Move the "windows,
      	cygwin, mingw" maintainer to ...
      	(OS Port Maintainers): ... here.
      
      From-SVN: r88476
      Kazu Hirata committed
    • MAINTAINERS (Write After Approval): Remove those that are maintainers of some subsystem. · a6497c1b
      	* MAINTAINERS (Write After Approval): Remove those that are
      	maintainers of some subsystem.
      
      From-SVN: r88475
      Kazu Hirata committed
    • Convert diagnostics to use quoting flag q 2/n · 1f070f2b
              Convert diagnostics to use quoting flag q 2/n
              * class.c (build_base_path, add_method, alter_access,
              handle_using_decl, check_bases,
              maybe_warn_about_overly_private_class, find_final_overrider,
              warn_hidden, finish_struct_anon,
              add_implicitly_declared_members,
              check_bitfield_decl, check_field_decls, layout_empty_base,
              build_base_field, check_methods, layout_virtual_bases,
              warn_about_ambiguous_bases, layout_class_type,
              finish_struct_1,
              resolve_address_of_overloaded_function, instantiate_type,
              note_name_declared_in_class): Use format flag "q" for quoting.
      
      From-SVN: r88473
      Gabriel Dos Reis committed
    • c_locale.cc (__convert_to_v): Use _GLIBCXX_HAVE_STRTOF instead _GLIBCXX_USE_C99… · e6fecd01
      c_locale.cc (__convert_to_v): Use _GLIBCXX_HAVE_STRTOF instead _GLIBCXX_USE_C99 to check for strtof.
      
      
      	* config/locale/generic/c_locale.cc (__convert_to_v): Use
      	_GLIBCXX_HAVE_STRTOF instead _GLIBCXX_USE_C99 to check for strtof.
      	Likewise, use _GLIBCXX_HAVE_STRTOLD instead of _GLIBCXX_USE_C99
      	to check for presence of strtold.
      
      From-SVN: r88472
      Roger Sayle committed
    • Daily bump. · 66cea675
      From-SVN: r88470
      GCC Administrator committed
    • PR c/17178, PR c/17820 · 29128154
      2004-10-03  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR c/17178, PR c/17820
              * c-decl.c (pop_scope): Do not warn about unused static
              variables as they warned in the middle-end.
      
      2004-10-03  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR c/17178
              * gcc.dg/unused-4.c: Adjust to be correct.
      
              PR c/17820
              * gcc.dg/unused-7.c: New test.
      
      From-SVN: r88467
      Andrew Pinski committed
    • builtins.c (expand_builtin_memcpy): Delete duplicate code and make the first… · ef7eaebf
      builtins.c (expand_builtin_memcpy): Delete duplicate code and make the first parameter the expression not the arglist.
      
      	* builtins.c (expand_builtin_memcpy): Delete duplicate code
      	and make the first parameter the expression not the arglist.
      
      From-SVN: r88466
      Kaveh R. Ghazi committed
  2. 03 Oct, 2004 22 commits
  3. 02 Oct, 2004 9 commits
    • tree-mudflap.c (mf_build_check_statement_for): Reorganize to take check-base and -limit arguments. · fefbfa21
      2004-10-02  Frank Ch. Eigler  <fche@redhat.com>
      
      	* tree-mudflap.c (mf_build_check_statement_for): Reorganize to
      	take check-base and -limit arguments.
      	(mf_xform_derefs_1): Reorganize slightly to pass proper base/limit
      	check ranges for ARRAY_REF and COMPONENT_REF.
      	(execute_mudflap_fnction_ops, ..._decls): Limit unnecessary
      	instrumentation.
      
      2004-10-02  Frank Ch. Eigler  <fche@redhat.com>
      
      	* testsuite/libmudflap.c/pass50-frag.c, fail33-frag.c, fail34-frag.c:
      	New tests for proper base/limit checking for aggregates.
      
      From-SVN: r88432
      Frank Ch. Eigler committed
    • c-objc-common.c (c_tree_printer): Correct description of %E. · 7848dfca
      	* c-objc-common.c (c_tree_printer): Correct description of %E.
      	Don't fall through after printing an expression.
      
      testsuite:
      	* gcc.dg/20040920-1.c: Update expected message text.
      
      From-SVN: r88431
      Joseph Myers committed
    • re PR treelang/17762 (treelang doesn't use mapped locations) · 34c4f8c7
      2004-10-02  James A. Morrison  <phython@gcc.gnu.org>
      
              PR other/17762
              * lex.l: Include input.h and errors.h
              (lineno): New variable.
              (LINEMAP_POSITION_FOR_COLUMN): Define as noop when USE_MAPPED_LOCATION
              is not defined.
              Set column position with LINEMAP_POSITION_FOR_COLUMN.
              Use error instead of fprintf.
              Set input_location with the value returned by linemap_start_line when
              USE_MAPPED_LOCATION is defined.
              (dump_lex_value): Use LOCATION_LINE.
              * parse.y: Include errors.h.
              Use error and warning instead of fprintf.
              (return): Move exp to rule scope and always set to $2.  Test against
              exp instead of $2.
              (init): Set $$ to $2.
              (print_token): Use LOCATION_LINE.
              * tree1.c (treelang_init): Call treelang_init_decl_processing last.
              Call linemap_add to set input_filename when USE_MAPPED_LOCATION is
              defined.
              (treelang_parse_file): Always start at line one.
              Rename input_filename to main_input_filename when USE_MAPPED_LOCATION is
              defined.
              Leave main_input_filename when done parsing the input.
              (insert_tree_name): Use error instead of fprintf.
              * treetree.c (tree_code_get_expression): Wrap long line.
              (tree_mark_addressable): Use %qD to print out DECLs.
      
      2004-10-02  James A. Morrison  <phython@gcc.gnu.org>
      
              * compile/autofunc.tree: New File.
              * compile/badchar.tree: New File.
              * compile/externvar.tree: New File.
              * compile/mismatch.tree: New File.
              * compile/noproto.tree: New File.
              * compile/novar.tree: New File.
              * compile/var_defs.tree: Add duplicate variable.
      
      From-SVN: r88430
      James A. Morrison committed
    • parse.y: Use gcc_assert and gcc_unreachable instead of abort. · 039784fa
      2004-10-02  James A. Morrison  <phython@gcc.gnu.org>
      
              * parse.y: Use gcc_assert and gcc_unreachable instead of abort.
              * tree1.c: Likewise.
              * treetree.c: Likewise.
      
      From-SVN: r88429
      James A. Morrison committed
    • lex.l: Remove random whitespace. · 7e57da12
      2004-10-02  James A. Morrison  <phython@gcc.gnu.org>
      
              * lex.l: Remove random whitespace.
              * parse.y: Reformat copyright notice.  Indent declarations.
              Wrap long lines, unwrap short lines.
              * tree1.c: Reformat copyright notice.  Wrap long lines.
              Remove random whitespace.
              (lookup_tree_name): Use LOCATION_LINE.
              * treetree.c: Reformat copyright notice.  Wrap long lines.
              Remove random whitespace.
      
      From-SVN: r88428
      James A. Morrison committed
    • ltcf-c.sh (tpf*): Add ld_shlibs=yes. · 1abb828a
      2004-10-02  P.J. Darcy  <darcypj@us.ibm.com>
      
      	* ltcf-c.sh (tpf*): Add ld_shlibs=yes.
      	* ltcf-cxx.sh (tpf*): Likewise.
      	* ltconfig (tpf*): Add TPF OS configuration support.
      
      From-SVN: r88427
      P.J. Darcy committed
    • * objc-act.c: Fix comment typos. · c72f8eec
      From-SVN: r88426
      Kazu Hirata committed
    • parse.y (ELSE): Set tok to $1. · 64beac09
      2004-09-28  James A. Morrison  <phython@gcc.gnu.org>
      
              * parse.y (ELSE): Set tok to $1.
              * treelang.texi: Wrap comments in @r{}.  Indent example comments.
              Use gcc when refering to the command line or website.  Update function
              definition.
      
      From-SVN: r88425
      James A. Morrison committed
    • * tree-cfg.c, config/s390/tpf-unwind.h: Fix comment typos. · 66efeafc
      From-SVN: r88424
      Kazu Hirata committed