1. 06 Jun, 2005 22 commits
  2. 05 Jun, 2005 17 commits
    • gfortran.exp (gfortran_target_compile): Call dg-additional-files-options · f25284f3
      2005-06-05  David Billinghurst  <David.Billinghurst@riotinto.com>
      
      	* lib/gfortran.exp (gfortran_target_compile): Call
      	dg-additional-files-options
      	* 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
      
      From-SVN: r100641
      David Billinghurst committed
    • acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl too for ac_c99_complex. · 9d997b96
      2005-06-05  Paolo Carlini  <pcarlini@suse.de>
      
      	* acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
      	too for ac_c99_complex.
      	* configure: Regenerate.
      
      From-SVN: r100639
      Paolo Carlini committed
    • re PR middle-end/21846 (segfault in fold_binary compiling vpr with -O2 -funroll-loops) · d5ab5675
      	PR tree-optimization/21846
      	* 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.
      
      From-SVN: r100631
      Zdenek Dvorak committed
    • re PR fortran/21912 (Wrong implied do-loop) · 86403f0f
      fortran/
      	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.
      testsuite/
      	PR fortran/21912
      	* gfortran.dg/array_constructor_4.f90: New test.
      
      From-SVN: r100630
      Tobias Schlüter committed
    • re PR c++/21619 (__builtin_constant_p(&"Hello"[0])?1:-1 not compile-time constant) · 88a7beb7
      	PR c++/21619
      	* 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
      	DECL_IS_BUILTIN_CONSTANT_P.
      
      	PR c++/21619
      	* g++.dg/ext/builtin9.C: New test.
      
      From-SVN: r100626
      Mark Mitchell committed
    • removing · 1d508aa9
      From-SVN: r100625
      Dale Johannesen committed
    • Removing · c25bc8a1
      From-SVN: r100624
      Dale Johannesen committed
    • 20050603-1.c: Move to gcc.dg. · 16191a64
      2005-06-05  Dale Johannesen  <dalej@apple.com>
      
      	* gcc.c-torture/execute/20050603-1.c:  Move to gcc.dg.
      	* gcc.c-torture/execute/20050603-2.c:  Ditto.
      
      From-SVN: r100623
      Dale Johannesen committed
    • invoke.texi: Fix description of flags required for compatibility with g77. · b4cbcd1a
      	* invoke.texi: Fix description of flags required for compatibility
      	with g77.
      
      From-SVN: r100621
      Tobias Schlüter committed
    • i386.c (x86_use_loop): Remove. · 862e2886
      	* config/i386/i386.c (x86_use_loop): Remove.
      	* 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.
      
      From-SVN: r100618
      Steven Bosscher committed
    • tree-flow.h (stmt_ann_d): Move aux to ... · 88088c03
              * tree-flow.h (stmt_ann_d): Move aux to ...
              (tree_ann_common_d): ... here.
              * tree-ssa-loop-im.c (LIM_DATA, determine_invariantness_stmt,
              move_computations_stmt, schedule_sm): Update references to
              aux.
              * 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):
              Likewise.
      
              * tree-vect-analyze.c (vect_analyze_scalar_cycles): Made void instead of
              bool.
              (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
              need_to_vectorize.
              (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):
              Likewise.
              (vectorizable_live_operation): New.
              (vect_transform_stmt): Handle LIVE_P stmts.
              * tree-vectorizer.c (new_stmt_vec_info): Initialize the new fields
              STMT_VINFO_LIVE_P and STMT_VINFO_DEF_TYPE.
              (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.
      
      From-SVN: r100617
      Dorit Nuzman committed
    • mips.c (mips_rtx_costs): Remove unused variable. · 57049d39
      2005-06-05  Eric Christopher  <echristo@redhat.com>
      
      	* config/mips/mips.c (mips_rtx_costs): Remove unused variable.
      
      From-SVN: r100613
      Eric Christopher committed
    • re PR target/21914 (mmix-knuth-mmixware testsuite failure: compile/20030703-1.c) · f972cae4
      	PR target/21914
      	* config/mmix/mmix.md ("*movdicc_real_foldable")
      	("*movdfcc_real_foldable", "*bCC_foldable")
      	("*bCC_inverted_foldable"): Specify DImode for register being
      	compared.
      
      From-SVN: r100612
      Hans-Peter Nilsson committed
    • 20050603-1.c: New. · 1c3250ed
      2005-06-04  Dale Johannesen  <dalej@apple.com>
      
              * gcc.c-torture/execute/20050603-1.c:  New.
              * gcc.c-torture/execute/20050603-2.c:  New.
              * gcc.dg/20050603-3.c:  New.
      
      From-SVN: r100611
      Dale Johannesen committed
    • Daily bump. · c943b01e
      [[Split portion of a mixed commit.]]
      
      From-SVN: r100609.2
      GCC Administrator committed
  3. 04 Jun, 2005 1 commit