1. 06 Jun, 2005 23 commits
    • jakub's avatar
      gcc/po/ · 380c6697
      jakub authored
      	* 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.
      	* 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):
      	(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.
      	* error.c (locate_error): Use gmsgid instead of msgid for argument
      	(cp_error_at, cp_warning_at, cp_pedwarn_at): Likewise.
      	* 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.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100676 138bc75d-0d04-0410-961f-82ee72b054a4
    • jakub's avatar
      * tree-chrec.c (reset_evolution_in_loop): Use build3 instead of · b74b8216
      jakub authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100675 138bc75d-0d04-0410-961f-82ee72b054a4
    • jakub's avatar
      * fold-const.c (operand_equal_p): Don't return 1, if element · 6349b545
      jakub authored
      	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.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100674 138bc75d-0d04-0410-961f-82ee72b054a4
    • jakub's avatar
      * combine.c (try_combine): Use hard_regno_nregs array instead of · ea34d710
      jakub authored
      	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.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100673 138bc75d-0d04-0410-961f-82ee72b054a4
    • dberlin's avatar
      · 3dec5460
      dberlin authored
      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.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100671 138bc75d-0d04-0410-961f-82ee72b054a4
    • echristo's avatar
      · 7dcc25a7
      echristo authored
      2005-06-06  Eric Christopher  <echristo@redhat.com>
      	* expr.c (do_store_flag): Remove check for non-negative BRANCH_COST.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100670 138bc75d-0d04-0410-961f-82ee72b054a4
    • nathan's avatar
      cp: · 29081c08
      nathan authored
      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.
      	PR 21903
      	* g++.dg/parse/defarg9.C: New.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100669 138bc75d-0d04-0410-961f-82ee72b054a4
    • paolo's avatar
      2005-06-06 Paolo Carlini <pcarlini@suse.de> · 56c33711
      paolo authored
              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.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100668 138bc75d-0d04-0410-961f-82ee72b054a4
    • ro's avatar
      * config/i386/x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Guard with · b783244d
      ro authored
      	(HAVE_AS_DWARF2_DEBUG_LINE): Remove.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100665 138bc75d-0d04-0410-961f-82ee72b054a4
    • nathan's avatar
      cp: · 49213a81
      nathan authored
      PR c++/20637
      	* cp-tree.h (add_method): Add using_decl parameter.
      	* class.c (add_method): Add using_decl parameter.  Adjust error
      	(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.
      	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.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100664 138bc75d-0d04-0410-961f-82ee72b054a4
    • ro's avatar
      * Makefile.in (mips-tfile.o): Add $(srcdir)/../include prefix to · 8026931a
      ro authored
      	getopt.h dependency.
      	(mips-tdump.o): Likewise.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100663 138bc75d-0d04-0410-961f-82ee72b054a4
    • hubicka's avatar
      · d5043f32
      hubicka authored
      	* predict.c (tree_predict_edge): Don't drop useless predictions;
      	check that it is not called too late in the game.
      	(gate_estimate_probability): New gate.
      	(pass_profile): Gate.
      	* tree-mudflap.c (mf_build_check_statement_for): Do not drop
      	predictions; update CFG instead.
      	* cfgrtl.c (rtl_verify_flow_info): Check that predcitions are consumed.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100662 138bc75d-0d04-0410-961f-82ee72b054a4
    • hp's avatar
      * config-lang.in (target_libs): Remove target-gperf. · bdf4b489
      hp authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100659 138bc75d-0d04-0410-961f-82ee72b054a4
    • paolo's avatar
      2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de> · eaf1a90e
      paolo authored
      	* include/bits/stl_function.h: ... and another one.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100657 138bc75d-0d04-0410-961f-82ee72b054a4
    • bernds's avatar
      Add bfin-uclinux configuration. · 43be3be8
      bernds authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100656 138bc75d-0d04-0410-961f-82ee72b054a4
    • paolo's avatar
      2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de> · 732f1cf0
      paolo authored
      	* include/bits/stl_function.h: Fix typo in comment.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100654 138bc75d-0d04-0410-961f-82ee72b054a4
    • green's avatar
      2005-06-05 Anthony Green <green@redhat.com> · 072aca7a
      green authored
              * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
              fall-through bug.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100650 138bc75d-0d04-0410-961f-82ee72b054a4
    • hp's avatar
      * btest-gcc.sh <Build>: Don't pass --with-newlib when target is · 8510719b
      hp authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100649 138bc75d-0d04-0410-961f-82ee72b054a4
    • hp's avatar
      * btest-gcc.sh (TESTLOGS): Make libstdc++.sum optional. · 26fbebe6
      hp authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100648 138bc75d-0d04-0410-961f-82ee72b054a4
    • bje's avatar
      * doc/md.texi (Insn Splitting): Fix some wording. · 9ab109b1
      bje authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100647 138bc75d-0d04-0410-961f-82ee72b054a4
    • billingd's avatar
      2005-06-05 David Billinghurst <David.Billinghurst@riotinto.com> · 86ab20d9
      billingd authored
      	* gfortran.dg/f2c_5.f90: Add -w to dg-options
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100646 138bc75d-0d04-0410-961f-82ee72b054a4
    • dje's avatar
      * config/rs6000/rs6000.c (rs6000_emit_swdivsf): New function. · f782d9e9
      dje authored
              (rs6000_emit_swdivdf): New function.
              * config/rs6000/rs6000.md (fres): New pattern.
              (divsf3): Add approximation through rs6000_emit_swdivsf.
              (fred): New pattern.
              (divdf3): Add approximation through rs6000_emit_swdivdf.
              * config/rs6000/rs6000-protos.h (rs6000_emit_swdivsf): Declare.
              (rs6000_emit_swdivdf): Declare.
              * config/rs6000/rs6000.opt (mswdiv): New option.
              * doc/invoke.texi (RS/6000 and PowerPC Options): Document mswdiv.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100645 138bc75d-0d04-0410-961f-82ee72b054a4
    • gccadmin's avatar
      Daily bump. · c6448de0
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100643 138bc75d-0d04-0410-961f-82ee72b054a4
  2. 05 Jun, 2005 17 commits
    • billingd's avatar
      2005-06-05 David Billinghurst <David.Billinghurst@riotinto.com> · d947d756
      billingd authored
      	* lib/gfortran.exp (gfortran_target_compile): Call
      	* gfortran.dg/f2c_4.f90: New file
      	* gfortran.dg/f2c_4.c: New file
      	* gfortran.dg/f2c_5.f90: New file
      	* gfortran.dg/f2c_5.c: New file
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100641 138bc75d-0d04-0410-961f-82ee72b054a4
    • paolo's avatar
      2005-06-05 Paolo Carlini <pcarlini@suse.de> · 88d7b4c4
      paolo authored
      	* acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
      	too for ac_c99_complex.
      	* configure: Regenerate.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100639 138bc75d-0d04-0410-961f-82ee72b054a4
    • gerald's avatar
      * gennews (files): Update for egcs-1.0 release pages consolidation. · ae3e4820
      gerald authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100636 138bc75d-0d04-0410-961f-82ee72b054a4
    • tobi's avatar
      * gfortran.dg/forall_1.f90: Set previously uninitialized variable. · 8e0ec575
      tobi authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100632 138bc75d-0d04-0410-961f-82ee72b054a4
    • rakdver's avatar
      PR tree-optimization/21846 · f3830c7c
      rakdver authored
      	* tree-cfg.c (replace_uses_by): Update information stored at loops.
      	* tree-flow.h (substitute_in_loop_info): Declare.
      	* tree-scalar-evolution.c (initialize_scalar_evolutions_analyzer):
      	Ensure that chrec_dont_know and chrec_known have a type.
      	* tree-ssa-loop-niter.c (substitute_in_loop_info): New function.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100631 138bc75d-0d04-0410-961f-82ee72b054a4
    • tobi's avatar
      fortran/ · 7722eea5
      tobi authored
      	PR fortran/21912
      	* trans-array.c (gfc_trans_array_constructor_value): Slightly reorder.
      	Generate correct exit condition in case of negative steps in
      	implied-do loops.
      	PR fortran/21912
      	* gfortran.dg/array_constructor_4.f90: New test.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100630 138bc75d-0d04-0410-961f-82ee72b054a4
    • mmitchel's avatar
      PR c++/21619 · 0dbadc68
      mmitchel authored
      	* cp-tree.h (DECL_IS_BUILTIN_CONSTANT_P): New macro.
      	* parser.c (cp_parser_postfix_expression): Allow non-constant
      	expressions as arguments to __builtin_constant_p.
      	* tree.c (builtin_valid_in_constant_expr_p): Use
      	PR c++/21619
      	* g++.dg/ext/builtin9.C: New test.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100626 138bc75d-0d04-0410-961f-82ee72b054a4
    • dalej's avatar
      removing · a2739ba0
      dalej authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100625 138bc75d-0d04-0410-961f-82ee72b054a4
    • dalej's avatar
      Removing · fc34aa32
      dalej authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100624 138bc75d-0d04-0410-961f-82ee72b054a4
    • dalej's avatar
      2005-06-05 Dale Johannesen <dalej@apple.com> · 19460e07
      dalej authored
      	* gcc.c-torture/execute/20050603-1.c:  Move to gcc.dg.
      	* gcc.c-torture/execute/20050603-2.c:  Ditto.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100623 138bc75d-0d04-0410-961f-82ee72b054a4
    • tobi's avatar
      * invoke.texi: Fix description of flags required for compatibility · cb88eb29
      tobi authored
      	with g77.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100621 138bc75d-0d04-0410-961f-82ee72b054a4
    • steven's avatar
      * config/i386/i386.c (x86_use_loop): Remove. · 98a7731a
      steven authored
      	* config/i386/i386.h (x86_use_loop): Remove extern decl.
      	(TARGET_USE_LOOP): Remove.
      	* config/i386/i386.md (doloop_end, doloop_end_internal): Remove.
      	Also remove related define_splits.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100618 138bc75d-0d04-0410-961f-82ee72b054a4
    • dorit's avatar
      * tree-flow.h (stmt_ann_d): Move aux to ... · e12906b9
      dorit authored
              (tree_ann_common_d): ... here.
              * tree-ssa-loop-im.c (LIM_DATA, determine_invariantness_stmt,
              move_computations_stmt, schedule_sm): Update references to
              * tree-vectorizer.h (set_stmt_info, vinfo_for_stmt): Likewise.
              * tree-vect-transform.c (vect_create_index_for_vector_ref): Update
              call to set_stmt_info.
              (vect_transform_loop): Likewise.
              * tree-vectorizer.c (new_loop_vec_info, destroy_loop_vec_info):
              * tree-vect-analyze.c (vect_analyze_scalar_cycles): Made void instead of
              (vect_mark_relevant): Takes two additional arguments - live_p and
              relevant_p. Set RELEVANT_P and LIVE_P according to these arguments.
              (vect_stmt_relevant_p): Differentiate between a live stmt and a
              relevant stmt. Return two values = live_p and relevant_p.
              (vect_mark_stmts_to_be_vectorized): Call vect_mark_relevant and
              vect_stmt_relevant_p with additional arguments. Phis are no longer
              put into the worklist (analyzed seperately in analyze_scalar_cycles).
              (vect_determine_vectorization_factor): Also check for LIVE_P, because a
              stmt that is marked as irrelevant and live, cause it's only used out
              side the loop, may need to be vectorized (e.g. reduction).
              (vect_analyze_operations): Examine phis. Call
              vectorizable_live_operation for for LIVE_P stmts. Check if
              (vect_analyze_scalar_cycles): Update documentation. Don't fail
              vectorization - just classify the scalar cycles created by the loop
              phis. Call vect_is_simple_reduction.
              (vect_analyze_loop): Call to analyze_scalar_cycles moved earlier.
              * tree-vect-transform.c (vect_create_index_for_vector_ref): Update
              call to set_stmt_info.
              (vect_get_vec_def_for_operand): Code reorganized - the code that
              classifies the type of use was factored out to vect_is_simple_use.
              (vectorizable_store, vect_is_simple_cond): Call vect_is_simple_use with
              additional arguments.
              (vectorizable_assignment): Likewise. Also make sure the stmt is relevant
              and computes a loop_vec_def.
              (vectorizable_operation, vectorizable_load, vectorizable_condition):
              (vectorizable_live_operation): New.
              (vect_transform_stmt): Handle LIVE_P stmts.
              * tree-vectorizer.c (new_stmt_vec_info): Initialize the new fields
              (new_loop_vec_info, destroy_loop_vec_info): Also handle phis.
              (vect_is_simple_use): Determine the type of the def and return it
              in a new function argument. Consider vect_reduction_def and
              vect_induction_def, but for now these are not supported.
              (vect_is_simple_reduction): New. Empty for now.
              * tree-vectorizer.h (vect_def_type): New enum type.
              (_stmt_vec_info): Added new fields - live and _stmt_vec_info.
              (STMT_VINFO_LIVE_P, STMT_VINFO_DEF_TYPE): New accessor macros.
              (vect_is_simple_use): New arguments added to function declaration.
              (vect_is_simple_reduction): New function declaration.
              (vectorizable_live_operation): New function declaration.
              * tree-vect-analyze.c (vect_can_advance_ivs_p): Add debug printout.
              (vect_can_advance_ivs_p): Likewise.
              * tree-vect-transform.c (vect_update_ivs_after_vectorizer): Likewise.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100617 138bc75d-0d04-0410-961f-82ee72b054a4
    • echristo's avatar
      2005-06-05 Eric Christopher <echristo@redhat.com> · 8998938d
      echristo authored
      	* config/mips/mips.c (mips_rtx_costs): Remove unused variable.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100613 138bc75d-0d04-0410-961f-82ee72b054a4
    • hp's avatar
      PR target/21914 · 4d0703e5
      hp authored
      	* config/mmix/mmix.md ("*movdicc_real_foldable")
      	("*movdfcc_real_foldable", "*bCC_foldable")
      	("*bCC_inverted_foldable"): Specify DImode for register being
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100612 138bc75d-0d04-0410-961f-82ee72b054a4
    • dalej's avatar
      2005-06-04 Dale Johannesen <dalej@apple.com> · 3120c026
      dalej authored
              * gcc.c-torture/execute/20050603-1.c:  New.
              * gcc.c-torture/execute/20050603-2.c:  New.
              * gcc.dg/20050603-3.c:  New.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100611 138bc75d-0d04-0410-961f-82ee72b054a4
    • gccadmin's avatar
      Daily bump. · 5ba1ed24
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100609 138bc75d-0d04-0410-961f-82ee72b054a4