OSDN Git Service

Add the Graphite merge entry.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 039edb6..6e03a8c 100644 (file)
@@ -1,7 +1,184 @@
+2008-09-02  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2out.c (tree_add_const_value_attribute): Only handle
+       VAR_DECL and CONST_DECL.
+
+2008-09-02  H.J. Lu  <hongjiu.lu@intel.com>
+           Jakub Jelinek  <jakub@redhat.com>
+
+       * config/i386/i386.c (X86_64_VARARGS_SIZE): Removed.
+       (setup_incoming_varargs_64): Assume cum != NULL. Set/check
+       ix86_varargs_gpr_size and ix86_varargs_fpr_size.  Use
+       ix86_varargs_gpr_size instead of X86_64_REGPARM_MAX.
+       Don't set ix86_save_varrargs_registers.
+       (ix86_setup_incoming_varargs): Assume cum != NULL.
+       (ix86_va_start): Check ix86_varargs_gpr_size and
+       ix86_varargs_fpr_size instead of cfun->va_list_gpr_size and
+       cfun->va_list_fpr_size, respectively.  Subtract 8*X86_64_REGPARM_MAX
+       from frame pointer if ix86_varargs_gpr_size == 0.
+       (ix86_compute_frame_layout): Updated.
+       * config/i386/i386.h (ix86_save_varrargs_registers): Removed.
+       (ix86_varargs_gpr_size): Define.
+       (ix86_varargs_fpr_size): Likewise.
+       (machine_function): Remove save_varrargs_registers.
+       Add varargs_gpr_size and varargs_fpr_size.
+
+2008-09-02  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/alpha/alpha.c (va_list_skip_additions,
+       alpha_stdarg_optimize_hook, alpha_gimplify_va_arg_1): Tuplify.
+       (alpha_gimplify_va_arg): Call unshare_expr on second use of
+       offset_field.
+
+       PR tree-optimization/36766
+       * tree-cfg.c (gimple_purge_all_dead_eh_edges): Do nothing
+       for already removed basic blocks.
+
+       PR target/36332
+       * real.c (real_maxval): Clear a lower bit to make real_maxval
+       match get_max_float for IBM long double format.
+
+2008-09-02  Andreas Schwab  <schwab@suse.de>
+
+       * configure.ac: Use m4_quote to quote the expansion of m4_do.
+       * configure: Regenerate.
+
+2008-09-02  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * simplify-rtx.c (simplify_binary_operation_1): Check for CONST,
+       SYMBOL_REF and LABEL_REF when applying plus_constant, instead of
+       checking for a non-VOID CONSTANT_P.
+
+2008-09-02  Jan Hubicka  <jh@suse.cz>
+
+       * predict.c (pass_strip_predict_hints): Avoid bugs dump file.
+       * expmed.c (expand_divmod): Fix test of smod_pow2_cheap and sdiv_pow2_cheap
+
+2008-09-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * expr.c (emit_group_store): Don't assert stack temp mode size.
+
+2008-09-02  Sebastian Pop  <sebastian.pop@amd.com>
+           Tobias Grosser  <grosser@fim.uni-passau.de>
+           Jan Sjodin  <jan.sjodin@amd.com>
+           Harsha Jagasia  <harsha.jagasia@amd.com>
+           Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
+           Konrad Trifunovic  <konrad.trifunovic@inria.fr>
+           Adrien Eliche  <aeliche@isty.uvsq.fr>
+
+       Merge from graphite branch.
+       * graphite.c: New.
+       * graphite.h: New.
+       * tree-loop-linear.c (perfect_loop_nest_depth): Export.
+       * doc/invoke.texi (-floop-block, -floop-interchange,
+       -floop-strip-mine): Document new flags.
+       * tree-into-ssa.c (gimple_vec): Moved...
+       * tree-loop-distribution.c (rdg_component): Moved...
+       * cfgloopmanip.c: Include tree-flow.h.
+       (update_dominators_in_loop): New.
+       (create_empty_if_region_on_edge): New.
+       (create_empty_loop_on_edge): New.
+       (loopify): Use update_dominators_in_loop.
+       * tree-pass.h (pass_graphite_transforms): Declared.
+       * configure: Regenerate.
+       * tree-phinodes.c (make_phi_node): Export.
+       (add_phi_node_to_bb): New, split from create_phi_node.
+       * tree-chrec.c (for_each_scev_op): New.
+       * tree-chrec.h (for_each_scev_op): Declared.
+       * tree-ssa-loop-ivopts.c (get_phi_with_result): New.
+       (remove_statement): Call get_phi_with_result.
+       * config.in (HAVE_cloog): Undef.
+       * gdbinit.in (pgg): New.
+       * timevar.def (TV_GRAPHITE_TRANSFORMS): New.
+       * tree-ssa-loop.c (graphite_transforms): New.
+       (gate_graphite_transforms): New.
+       (pass_graphite_transforms): New.
+       * configure.ac (PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC,
+       HAVE_cloog): Defined.
+       * tree-vectorizer.c (rename_variables_in_bb): Export.
+       * tree-data-ref.c (dr_may_alias_p): Export.
+       (stmt_simple_memref_p): New.
+       (find_data_references_in_stmt): Export.
+       (find_data_references_in_loop): Export.
+       (create_rdg_edge_for_ddr): Initialize RDGE_RELATION.
+       (create_rdg_edges_for_scalar): Initialize RDGE_RELATION.
+       (create_rdg_vertices): Export.
+       (build_empty_rdg): New.
+       (build_rdg): Call build_empty_rdg.  Free dependence_relations.
+       * tree-data-ref.h (rdg_component): ... here.
+       (scop_p): New.
+       (struct data_reference): Add a field scop.
+       (DR_SCOP): New.
+       (find_data_references_in_loop): Declared.
+       (find_data_references_in_stmt): Declared.
+       (create_rdg_vertices): Declared.
+       (dr_may_alias_p): Declared.
+       (stmt_simple_memref_p): Declared.
+       (struct rdg_edge): Add a field ddr_p relation.
+       (build_empty_rdg): Declared.
+       * lambda.h (lambda_matrix): Declare a VEC of.
+       (find_induction_var_from_exit_cond): Declared.
+       (lambda_vector_compare): New.
+       * common.opt (fgraphite, floop-strip-mine,
+       floop-interchange, floop-block): New flags.
+       * lambda-code.c (find_induction_var_from_exit_cond): Export.
+       * cfgloop.c (is_loop_exit): New.
+       * cfgloop.h (is_loop_exit): Declared.
+       (create_empty_if_region_on_edge): Declared.
+       (create_empty_loop_on_edge): Declared.
+       * tree-flow.h (add_phi_node_to_bb): Declared.
+       (make_phi_node): Declared.
+       (rename_variables_in_bb): Declared.
+       (perfect_loop_nest_depth): Declared.
+       (graphite_transform_loops): Declared.
+       * Makefile.in (cfgloopmanip.o): Depend on TREE_FLOW_H.
+       (graphite.o-warn): Add -Wno-error.
+       (PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC): Declared.
+       (LIBS): Add GMPLIBS, CLOOGLIBS, PPLLIBS.
+       (INCLUDES): Add PPLINC, CLOOGINC.
+       (OBJS-common): Add graphite.o.
+       (graphite.o): Add rule.
+       * gimple.h (gimple_vec): ... here.
+       * tree-cfg.c (print_loops): Start printing at ENTRY_BLOCK_PTR.
+       * passes.c (init_optimization_passes): Schedule 
+       pass_graphite_transforms.
+
+2008-09-02  Samuel Tardieu  <sam@rfc1149.net>
+
+       PR target/37283
+       * opts.c (decode_options): Move processing of -fno-unit-at-a-time
+       and -fno-toplevel-reorder after handle_options.
+
+2008-09-02  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/arm.c (arm_tune_cortex_a9): Define.
+       (arm_override_options): Set arm_tune_cortex_a9.
+       (arm_rtx_costs_1): Make register shifts more expensive on Cortex-A9.
+       (arm_issue_rate): Handle cortexa9.
+       * config/arm/arm.h (arm_tune_cortex_a9): Declare.
+       * config/arm/arm-cores.def: Add cortex-a9.
+       * config/arm/arm-tune.md: Regenerate.
+       * config/arm/arm.md: Include cortex-a9.md.
+       (generic_sched, generic_vfp): Add cortexa9.
+       * config/arm/cortex-a9.md: New file.
+
+2008-09-02  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/37327
+       * tree-vrp.c (register_new_assert_for): Make sure to not have
+       TREE_OVERFLOW set on the bound.
+
+2008-09-02  Alexander Monakov  <amonakov@ispras.ru>
+
+       Fixed typo in date of the 2008-09-01 MOVE_RATIO commit.
+
+       * config/ia64/ia64.opt (msched-ar-data-spec): Default to 1.
+       * config/ia64/ia64.c (ia64_set_sched_flags): Always initialize
+       spec_info->mask.
+
 2008-09-02  Victor Kaplansky  <victork@il.ibm.com>
 
        * gcc/config/spu/spu.md (divdf3): Removed.
-  
 
 2008-09-02  Jakub Jelinek  <jakub@redhat.com>
 
        * config/arm/arm.md: Include cortex-r4f.md.
        (attr fpu): Update type list.
        (attr type): Add fcpys, ffariths, ffarithd, fadds, faddd, fconsts,
-       fconstd, fcmps and fcmpd. 
+       fconstd, fcmps and fcmpd.
        (attr tune_cortexr4): Define.
        (attr generic_sched, attr generic_vfp): Use tune_cortexr4.
        * config/arm/vfp.md: Document fcpys, ffariths, ffarithd, fadds, faddd,
 
 2008-09-01  Andrey Belevantsev  <abel@ispras.ru>
 
-       * sel-sched-ir.c (cmp_v_in_regset_pool): Surround with 
-       #ifdef ENABLE_CHECKING. 
+       * sel-sched-ir.c (cmp_v_in_regset_pool): Surround with
+       #ifdef ENABLE_CHECKING.
 
 2008-09-01  Andrey Belevantsev  <abel@ispras.ru>
-       
+
        * sel-sched-dump.c: Surround with #ifdef INSN_SCHEDULING.
        * sched-int.h (print_insn, print_pattern, print_value): Declare also
        when !INSN_SCHEDULING.
-       
+
 2008-09-01  Andreas Schwab  <schwab@suse.de>
 
        * config/ia64/ia64.c (TARGET_ADDRESS_COST): Update.
 
        * config/arm/arm.c (arm_no_early_mul_dep): Handle multiply-subtract.
 
-2008-00-01  Jan Hubicka  <jh@suse.cz>
+2008-09-01  Jan Hubicka  <jh@suse.cz>
 
        * config/spu/spu.c (spu_expand_block_move) Update call of MOVE_RATIO.