X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2FChangeLog;h=0affc98aa587b34854ab5219549f8c2aec7f819d;hb=98b04a0312078dd2ed719a606084e3105fb8e1ff;hp=fa1f937d349d64ef35b6105d9ccc03e112f3e0ee;hpb=da61904d17e61b768115ebbf60f15dd81270062b;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa1f937d349..0affc98aa58 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,9 +1,324 @@ +2008-09-03 Bernd Schmidt + + * config/bfin/bfin.c (bfin_expand_prologue): Honour no_stack_limit + attributes. + + From Michael Frysinger + * config/bfin/bfin.c (bfin_handle_option): Remove BF561 warning. + +2008-09-03 Danny Smith + + * gthr-win32.h (CONST_CAST2): Really make sure CONST_CAST2 is + defined. + (__gthread_setspecific): Revert 2008-08-31 change to + __GTHREAD_HIDE_W32API case. Apply it to !__GTHREAD_HIDE_W32API + case. + +2008-09-02 Aldy Hernandez + + * diagnostic.c (error_at): New. + * toplev.h (error_at): New prototype. + * c-typeck.c (build_array_ref): Call error_at instead of error. + Pass location to pedwarn. + +2008-09-02 Adam Nemet + + * sel-sched.c (sel_hard_regno_rename_ok): Mark arguments unused. + +2008-09-02 Jakub Jelinek + + * dwarf2out.c (tree_add_const_value_attribute): Only handle + VAR_DECL and CONST_DECL. + +2008-09-02 H.J. Lu + Jakub Jelinek + + * 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 + + * 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 + + * configure.ac: Use m4_quote to quote the expansion of m4_do. + * configure: Regenerate. + +2008-09-02 Richard Sandiford + + * 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 + + * 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 + + * expr.c (emit_group_store): Don't assert stack temp mode size. + +2008-09-02 Sebastian Pop + Tobias Grosser + Jan Sjodin + Harsha Jagasia + Dwarakanath Rajagopal + Konrad Trifunovic + Adrien Eliche + + 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 + + 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 + + * 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 + + 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 + + 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 + + * gcc/config/spu/spu.md (divdf3): Removed. + +2008-09-02 Jakub Jelinek + + PR tree-optimization/37095 + * cgraph.c (cgraph_node): When creating new cgraph node after + assembler_name_hash has been populated, record it in the hash + table. + +2008-09-01 Paul Brook + + * doc/invoke.texi: Document -mword-relocations. + * config/arm/uclinux-elf.h (TARGET_DEFAULT_WORD_RELOCATIONS): Define. + * config/arm/symbian.h (TARGET_DEFAULT_WORD_RELOCATIONS): Define. + * config/arm/vxworks.h (TARGET_DEFAULT_WORD_RELOCATIONS): Define. + * config/arm/arm.c (arm_split_constant): Use arm_emit_movpair. + (arm_rtx_costs_1, arm_size_rtx_costs): Handle HIGH and LO_SUM. + (arm_emit_movpair): New function. + (arm_print_operand ): Handle sybolic addresses. + * config/arm/arm.h (TARGET_USE_MOVT): Define. + (TARGET_DEFAULT_WORD_RELOCATIONS): Define. + * config/arm/arm-protos.h (arm_emit_movpair): Add prototype. + * config/arm/arm.opt: Add -mword-relocations. + * config/arm/arm.md (movsi): Use arm_emit_movpair. + (arm_movt, arm_movw): New. + +2008-09-01 Paul Brook + + * config/arm/arm.c (arm_override_options): Set arm_abi earlier. + Allow Interworking on ARMv4 EABI based targets. + * config/arm/bpabi.h (TARGET_FIX_V4BX_SPEC): Define. + (SUBTARGET_EXTRA_ASM_SPEC, LINK_SPEC): Add TARGET_FIX_V4BX_SPEC. + +2008-09-01 Paul Brook + + * config/arm/thumb2.md (thumb2_negscc): Match the correct operand for + optimized LT0 test. Remove optimization for GT. + +2008-09-01 John David Anglin + + * pa64-hpux.h (LIB_SPEC): Link against librt when building static + openmp applications. + * pa-hpux11.h (LIB_SPEC): Likewise. + + * ira.c (setup_eliminable_regset): Only declare i if ELIMINABLE_REGS is + defined. + +2008-09-01 Jan Hubicka + + * predict.c (maybe_hot_count_p, maybe_hot_edge_p): When profile is + present, use only counts; when guessed use only frequencies. + (estimate_bb_frequencies): Use function_frequency. + * profile.c (compute_branch_probabilities): Exit early when + profile reading failed. Set profile_status. + (branch_prob): Do not set profile_status. + +2008-09-01 Aldy Hernandez + + * tree.c (protected_set_expr_location): New. + * tree.h (protected_set_expr_location): New prototype. + * c-tree.h (build_array_ref): Add argument. + (parser_build_unary_op): Same. + * c-typeck.c (build_indirect_ref): Handle new location argument. + (build_array_ref): Same. + (parser_build_unary_op): Same. + * gimplify.c (gimplify_asm_expr): Set input_location before calling + error. + * c-omp.c (c_finish_omp_atomic): Pass location when calling + build_indirect_ref. + * c-common.c (finish_label_address_expr): Handle new location + argument. + * c-common.h (build_indirect_ref): Add argument. + (finish_label_address_expr): Same. + * c-parser.c (c_parser_unary_expression): Pass location to build + functions. + (c_parser_postfix_expression): Same. + +2008-09-01 Paul Brook + + * 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. + (attr tune_cortexr4): Define. + (attr generic_sched, attr generic_vfp): Use tune_cortexr4. + * config/arm/vfp.md: Document fcpys, ffariths, ffarithd, fadds, faddd, + fconsts, fconstd, fcmps and fcmpd. Use them in insn patterns. + * config/arm/arm.c (arm_issue_rate): Add cortexr4f. + * config/arm/arm1020e.md (v10_ffarith, v10_farith): Use new insn + types. + * config/arm/cortex-a8-neon.md (cortex_a8_vfp_add_sub, + cortex_a8_vfp_farith: Ditto. + * config/arm/vfp11.md (vfp_ffarith, vfp_farith): Ditto. + * config/arm/cortex-r4.md: Use tune_cortexr4. + * config/arm/cortex-r4f.md: New file. + +2008-09-01 Richard Guenther + + PR tree-optimization/37305 + * tree-ssa-ccp.c (ccp_fold): Do not set TREE_OVERFLOW on + the result of constant conversions. + (fold_gimple_assign): Likewise. + +2008-09-01 Andrey Belevantsev + + * sel-sched-ir.c (cmp_v_in_regset_pool): Surround with + #ifdef ENABLE_CHECKING. + 2008-09-01 Andrey Belevantsev - + * 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 * config/ia64/ia64.c (TARGET_ADDRESS_COST): Update. @@ -12,7 +327,7 @@ * config/arm/arm.c (arm_no_early_mul_dep): Handle multiply-subtract. -2008-00-01 Jan Hubicka +2008-09-01 Jan Hubicka * config/spu/spu.c (spu_expand_block_move) Update call of MOVE_RATIO.