1. 07 Jun, 2005 26 commits
  2. 06 Jun, 2005 14 commits
    • linux-unwind.h (SH_DWARF_FRAME_XD0): Remove for SH5. · ae88d80c
      	* config/sh/linux-unwind.h (SH_DWARF_FRAME_XD0): Remove for SH5.
      	(SH_DWARF_FRAME_PR, SH_DWARF_FRAME_GBR, SH_DWARF_FRAME_MACL)
      	(SH_DWARF_FRAME_MACH, SH_DWARF_FRAME_PC, SH_DWARF_FRAME_FPUL):
      	Likewise.
      	(SH_DWARF_FRAME_FP0, SH_DWARF_FRAME_FPSCR): Define to the correct
      	dwarf register number for SHmedia.
      	(shmedia_fallback_frame_state): New.
      	(MD_FALLBACK_FRAME_STATE_FOR): Define to it for SH5.
      
      	* config/sh/linux.h (FUNCTION_PROFILER): Provide SHMEDIA version.
      
      From-SVN: r100681
      Kaz Kojima committed
    • configure.in (unsupported_languages): New macro. · 4fab7234
      	* configure.in (unsupported_languages): New macro.
      	<mmix-knuth-mmixware>: Set unsupported_languages.  Name explicit
      	non-ported target libraries in noconfigdirs.
      	<cris-*, crisv32-*> Ditto, except for non-aout, non-elf,
      	non-linux-gnu.  Remove libgcj_ex_libffi.
       	<lang_frag loop>: Set add_this_lang=no if the language is in
      	unsupported_languages.
      	* configure: Regenerate.
      
      From-SVN: r100680
      Hans-Peter Nilsson committed
    • libiberty.h (XOBFINISH): New. · 7973fd2a
      libiberty/
      2005-06-06  Gabriel Dos Reis  <gdr@integrable-solutions.net>
      
              * libiberty.h (XOBFINISH): New.
      
      gcc/
      2005-06-06  Gabriel Dos Reis  <gdr@integrable-solutions.net>
      
              * c-lex.c (lex_string): Use XOBFINISH.
              * collect2.c (extract_string, dump_file): Likewise.
              * dbxout.c (dbxout_finish_complex_stabs): Likewise.
              * gcc.c (init_spec, build_search_list, convert_filename,
              set_collect_gcc_options, do_spec_2, do_spec_1, main):
              * Likewise.
              * genpreds.c (write_predicate_subfunction): Likewise.
              * genflags.c (main): Likewise.
              * read-rtl.c (mode_attr_index, apply_macro_to_string,
              join_c_conditions, read_quoted_string, read_braced_string,
              read_rtx_1): Likewise.
              * stringpool.c (ggc_alloc_string): Likewise.
              * tlink.c (obstack_fgets, recompile_files): Likewise.
      
      From-SVN: r100678
      Gabriel Dos Reis committed
    • exgettext: Handle gmsgid and cmsgid arguments specially, as gcc-internal-format and c-format. · 4b794eaf
      gcc/po/
      	* exgettext: Handle gmsgid and cmsgid arguments specially,
      	as gcc-internal-format and c-format.  Because of xgettext
      	bug, invoke xgettext once with --language=c, once with
      	--language=GCC-source and then merge together.  Fail if
      	xgettext is not 0.14.5 or later.
      gcc/
      	* intl.h (G_): New macro.
      	* rtl-error.c (error_for_asm, warning_for_asm): Use gmsgid
      	instead of msgid for argument name.
      	* tree-ssa.c (warn_uninit): Likewise.
      	* c-parser.c (c_parser_error): Likewise.
      	* config/rs6000/rs6000-c.c (SYNTAX_ERROR): Likewise.
      	* config/darwin-c.c (BAD): Likewise.
      	* config/c4x/c4x-c.c (BAD): Likewise.
      	* c-pragma.c (GCC_BAD, GCC_BAD2): Likewise.
      	* c-errors.c (pedwarn_c99, pedwarn_c90): Likewise.
      	* c-common.c (c_parse_error): Likewise.
      	* diagnostic.c (diagnostic_set_info, verbatim, inform, warning,
      	warning0, pedwarn, error, sorry, fatal_error, internal_error):
      	Likewise.
      	(fnotice): Use cmsgid instead of msgid for argument name.
      	* gcov.c (fnotice): Likewise.
      	* protoize.c (notice): Likewise.
      	* final.c (output_operand_lossage): Likewise.
      	* gcc.c (fatal, notice): Likewise.
      	(error): Use gmsgid instead of msgid for argument name.
      	* collect2.c (notice, fatal_perror, fatal): Use cmsgid instead
      	of msgid for argument name.
      	(error): Use gmsgid instead of msgid for argument name.
      	* c-decl.c (locate_old_decl, implicit_decl_warning): Use G_()
      	instead of N_().
      	* c-typeck.c (readonly_error, convert_for_assignment): Likewise.
      	* tree-inline.c (inline_forbidden_p_1): Likewise.
      	* ABOUT-GCC-NLS: Require gettext 0.14.5 or later.  Mention the new
      	conventions for marking translations.
      	* doc/install.texi: Mention gettext 0.14.5 or later requirement.
      gcc/cp/
      	* error.c (locate_error): Use gmsgid instead of msgid for argument
      	name.
      	(cp_error_at, cp_warning_at, cp_pedwarn_at): Likewise.
      gcc/java/
      	* jv-scan.c (fatal_error, warning, warning0): Use gmsgid instead of
      	msgid for argument name.
      	* gjavah.c (error): Likewise.
      	* java-tree.h (parse_error_context): Likewise.
      	* parse.y (parse_error_context, parse_warning_context,
      	issue_warning_error_from_context): Likewise.
      
      From-SVN: r100676
      Jakub Jelinek committed
    • tree-chrec.c (reset_evolution_in_loop): Use build3 instead of build2. · 6be74c4f
      	* tree-chrec.c (reset_evolution_in_loop): Use build3 instead of
      	build2.
      
      From-SVN: r100675
      Jakub Jelinek committed
    • re PR middle-end/21897 (Segementation fault in fold_ternary) · 40182dbf
      	* fold-const.c (operand_equal_p): Don't return 1, if element
      	chains for 2 VECTOR_CSTs are not the same length.
      
      	PR regression/21897
      	* fold-const.c (fold_ternary) <case BIT_FIELD_REF>: Don't crash if
      	not all VECTOR_CST elements are given.
      
      	* gcc.c-torture/execute/20050604-1.c: New test.
      
      From-SVN: r100674
      Jakub Jelinek committed
    • combine.c (try_combine): Use hard_regno_nregs array instead of HARD_REGNO_NREGS macro. · c8b622ff
      	* combine.c (try_combine): Use hard_regno_nregs array instead of
      	HARD_REGNO_NREGS macro.
      	* config/rs6000/rs6000.c (rs6000_split_multireg_move,
      	rs6000_register_move_cost, rs6000_memory_move_cost): Likewise.
      	* config/ia64/ia64.c (mark_reg_gr_used_mask): Likewise.
      
      From-SVN: r100673
      Jakub Jelinek committed
    • tree-ssa-reassoc.o: New. · 012309e6
      
      2005-06-06  Daniel Berlin  <dberlin@dberlin.org>
      
      	* tree-ssa-reassoc.o: New.
      	(OBJS-common): Add tree-ssa-reassoc.o
      	* timevar.def: Add TV_TREE_REASSOC
      	* tree-optimize.c (pass_reassoc): Add call.
      	* tree-pass.h (pass_reassoc): Add.
      	* tree-ssa-reassoc.c: New file.
      
      From-SVN: r100671
      Daniel Berlin committed
    • expr.c (do_store_flag): Remove check for non-negative BRANCH_COST. · 08fd6d04
      
      2005-06-06  Eric Christopher  <echristo@redhat.com>
      
      	target/21927
      	* expr.c (do_store_flag): Remove check for non-negative BRANCH_COST.
      
      From-SVN: r100670
      Eric Christopher committed
    • re PR c++/21903 (Default argument of template function causes a compile-time error) · 5e97d404
      cp:
      PR 21903
      	* cp-tree.def (DEFAULT_ARG): Document TREE_CHAIN use.
      	* parser.c (cp_parser_late_parsing_default_args): Propagate parsed
      	argument to any early instantiations.
      	* pt.c (tsubst_arg_types): Chain early instantiation of default arg.
      testsuite:
      	PR 21903
      	* g++.dg/parse/defarg9.C: New.
      
      From-SVN: r100669
      Nathan Sidwell committed
    • [multiple changes] · 2fecaef4
      2005-06-06  Paolo Carlini  <pcarlini@suse.de>
      
              Port from libstdcxx_so_7-branch:
      	2004-09-24  Paolo Carlini  <pcarlini@suse.de>
      		    Jonathan Wakely  <redi@gcc.gnu.org>
      
      	* include/bits/stl_list.h (list::list(size_type, value_type,
      	const allocator_type&): Implement according to the letter of the
      	standard, i.e., don't use two overloads, not equivalent in case
      	of non default constructible T.
      	(list::resize(size_type, const value_type&)): Fix the signature:
      	according to the standard the second argument is by value; also,
      	don't use two overloads.
      	* include/bits/list.tcc (list::resize(size_type, const value_type&)):
      	Adjust consistently the signature.
      	* include/bits/stl_deque.h (deque::deque(size_type, value_type,
      	const allocator_type&)): Likewise.
      	(deque::resize(size_type, const value_type&)): Likewise.
      	* include/bits/stl_vector.h (vector::vector(size_type, value_type,
      	const allocator_type&)): Likewise.
      	(vector::resize(size_type, const value_type&)): Likewise.
      	* testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
      	* testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
      	* testsuite/23_containers/list/explicit_instantiation/2.cc: New.
      	* testsuite/23_containers/map/explicit_instantiation/2.cc: New.
      	* testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
      	* testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
      	* testsuite/23_containers/set/explicit_instantiation/2.cc: New.
      	* testsuite/23_containers/vector/explicit_instantiation/2.cc: New.
      
      	* include/bits/deque.tcc: Minor formatting fix.
      
      From-SVN: r100668
      Paolo Carlini committed
    • x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Guard with HAVE_GAS_MAX_SKIP_P2ALIGN. · 1651a990
      	* config/i386/x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Guard with
      	HAVE_GAS_MAX_SKIP_P2ALIGN.
      	(HAVE_AS_DWARF2_DEBUG_LINE): Remove.
      
      From-SVN: r100665
      Rainer Orth committed
    • re PR c++/20637 (Confusing message with different using declarations) · b2a9b208
      cp:
      PR c++/20637
      	* cp-tree.h (add_method): Add using_decl parameter.
      	* class.c (add_method): Add using_decl parameter.  Adjust error
      	messages.
      	(handle_using_decl): Pass the using decl to add_method.
      	(clone_function_decl): Adjust add_member calls.
      	* decl2.c (check_classfn): Likewise.
      	* method.c (lazily_declare_fn): Likewise.
      	* semantics.c (finish_member_declaration): Likewise.
      
      	* method.c (synthesize_method): Use inform, not warning.
      testsuite:
      	PR c++/20637
      	* g++.dg/inherit/using4.C: New.
      	* g++.dg/overload/error1.C: Adjust expected errors.
      	* g++.old-deja/g++.benjamin/warn02.C: Likewise.
      	* g++.old-deja/g++.brendan/arm2.C: Likewise.
      	* g++.old-deja/g++.other/redecl2.C: Likewise.
      	* g++.old-deja/g++.other/redecl4.C: Likewise.
      	* g++.old-deja/g++.pt/memtemp78.C: Likewise.
      
      From-SVN: r100664
      Nathan Sidwell committed
    • Makefile.in (mips-tfile.o): Add $(srcdir)/../include prefix to getopt.h dependency. · 3d7b7acc
      	* Makefile.in (mips-tfile.o): Add $(srcdir)/../include prefix to
      	getopt.h dependency.
      	(mips-tdump.o): Likewise.
      
      From-SVN: r100663
      Rainer Orth committed