X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;ds=sidebyside;f=gcc%2FChangeLog;h=4b596495dbb2ff60d281ac3a88a859e41e4ff130;hb=1678dcdf749fdcf7cc7225d26ed6f44e0b71330d;hp=3a37c84900021866c6d437dcf1c4a719b65569a5;hpb=9d7d5e71cc3bfbf248ba68059dd7af49c5d98b00;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a37c849000..4b596495dbb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,348 @@ +2012-05-24 Jakub Jelinek + + PR tree-optimization/53465 + * tree-vrp.c (extract_range_from_cond_expr): First copy_value_range + vr0 into *vr, then vrp_meet that. + (vrp_meet): If one vr type is VR_UNDEFINED, ensure the result doesn't + have any equivalences. + (vrp_visit_phi_node): Call copy_value_range instead of vrp_meet the + first time. + +2012-05-23 Eric Botcazou + + * gimple.c (gimple_types_compatible_p_1) : Remove bogus + size handling. + (gimple_canonical_types_compatible_p) : Likewise. + (iterative_hash_gimple_type): Adjust comment. + (iterative_hash_canonical_type): Likewise. Hash the bounds of the + domain for an array type instead of the domain type itself. + +2012-05-23 Georg-Johann Lay + + Backport from 2012-05-23 mainline r187803 + + PR target/53448 + * config/avr/avr.h (ASM_OUTPUT_ALIGN): Don't inhibit .p2align 1. + * config/avr/elf.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Use + ASM_OUTPUT_ALIGN. + +2012-05-23 Ganesh Gopalasubramanian + + Backport from 2012-05-03 mainline r187075 + + * config/i386/driver-i386.c (host_detect_local_cpu): Reset + has_fma4 for AMD processors with both fma3 and fma4 support. + +2012-05-22 Richard Guenther + + PR tree-optimization/53408 + * tree-vect-loop.c (vectorizable_induction): Properly check + the restriction that we cannot handle induction results from + the inner loop outside of the outer loop. + +2012-05-21 Jakub Jelinek + + PR tree-optimization/53436 + * omp-low.c (omp_build_component_ref): New function. + (build_receiver_ref, build_sender_ref, create_task_copyfn): Use it. + + PR tree-optimization/53366 + * tree-vect-slp.c (vect_supported_load_permutation_p): Don't shortcut + tests if complex_numbers == 2, but there are non-complex number loads + too. + + PR tree-optimization/53409 + * tree-vect-loop.c (vect_analyze_loop_operations): Don't check + vinfo_for_stmt (op_def_stmt) if op_def_stmt isn't inside loop. + + PR tree-optimization/53410 + * fold-const.c (fold_binary_loc): Use build_zero_cst (type) + instead of build_int_cst (type, 0) where vector types might be + involved. + +2012-05-21 Joseph Myers + + PR c/53418 + * c-typeck.c (build_conditional_expr): Remove C_MAYBE_CONST_EXPR + from folded operands before wrapping another around the + conditional expression. + +2012-05-21 Dave Boutcher + Patrick Marlier + + * trans-mem.c (ipa_tm_transform_clone): Transform functions with + indirect calls. + +2012-05-21 H.J. Lu + + Backport from mainline + 2012-05-21 H.J. Lu + + PR target/53416 + * config/i386/i386.md (UNSPEC_RDRAND): Renamed to ... + (UNSPECV_RDRAND): This. + (rdrand_1): Updated. + +2012-05-20 H.J. Lu + + Backport from mainline + 2012-05-20 H.J. Lu + + * config/i386/driver-i386.c (host_detect_local_cpu): Support + RDRND, F16C and FSGSBASE. + +2012-05-19 Eric Botcazou + + Backport from mainline + 2012-05-14 Eric Botcazou + + * tree-ssa-pre.c (can_value_number_call): Delete. + (compute_avail): Skip all statements with side effects. + : Skip calls to internal functions. + +2012-05-18 David S. Miller + + Backport r185385 from mainline + 2012-03-14 Richard Guenther + + PR middle-end/52584 + * tree-vect-generic.c (type_for_widest_vector_mode): Take + element type instead of mode, use build_vector_type_for_mode + instead of the langhook, build a vector of proper signedness. + (expand_vector_operations_1): Adjust. + +2012-05-18 Olivier Hainque + + * Makefile.in (FLAGS_TO_PASS): Pass $(libexecsubdir) instead of + $(libsubdir) as libexecsubdir. + +2012-05-16 Andrew Pinski + + * gimple-fold.c (get_maxval_strlen): Move COND_EXPR handling under + GIMPLE_ASSIGN. + +2012-05-16 David S. Miller + + * jump.c (delete_related_insns): If we remove a CALL, make sure + we delete it's NOTE_INSN_CALL_ARG_LOCATION note too. + +2012-05-16 Richard Henderson + + PR debug/52727 + * combine-stack-adj.c (prev_active_insn_bb): New. + (next_active_insn_bb): New. + (force_move_args_size_note): New. + (combine_stack_adjustments_for_block): Use it. + +2012-05-16 Olivier Hainque + + * Makefile.in (install-no-fixedincludes): New target, former toplevel + gcc-no-fixedincludes. Stash "include-fixed" in addition to "include". + Add comments and improve stamp preservation across the whole sequence. + (stmp-int-hdrs): Use move-if-change + cp -p to setup fix_dir/limits.h. + +2012-05-16 Richard Guenther + + PR tree-optimization/53364 + * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Properly + detect a view-conversion of the decl. + +2012-05-15 Jakub Jelinek + + PR target/53358 + * config/i386/i386.md (*addqi_2 peephole with QImode addition): Check + that operands[2] is either immediate, or q_regs_operand. + +2012-05-15 Bin Cheng + + Backport r187139 from mainline. + 2012-05-04 Bin Cheng + + PR rtl-optimization/52804 + * reload1.c (reload_reg_reaches_end_p): Check whether successor + reload with type RELOAD_FOR_INPUT_ADDRESS kills reload register + of current one with type RELOAD_FOR_INPADDR_ADDRESS. + Same stands for reloads with type RELOAD_FOR_OUTPUT_ADDRESS and + RELOAD_FOR_OUTADDR_ADDRESS. + +2012-05-14 Uros Bizjak + + PR target/46098 + * config/i386/i386.c (ix86_expand_special_args_builtin): Always + generate target register for "load" class builtins. + + Revert: + 2010-10-22 Uros Bizjak + + PR target/46098 + * config/i386/sse.md (*avx_movu): + Rename from avx_movu. + (avx_movu): New expander. + (*_movu): Rename from _movu. + (_movu): New expander. + (*avx_movdqu): Rename from avx_movdqu. + (avx_movdqu): New expander. + (*sse2_movdqu): Rename from sse2_movdqu. + (sse2_movdqu): New expander. + +2012-05-14 Jakub Jelinek + + * dwarf2out.c (dwarf2out_define, dwarf2out_undef): Treat + lineno 1 the same as lineno 0 before first start file directive. + (optimize_macinfo_range): Likewise. + + * dwarf2out.c (have_macinfo): Define. + (dwarf2out_finish): Don't emit DW_AT_GNU_macros or DW_AT_macro_info + attribute, don't force empty compilation unit and don't emit any + .debug_macinfo/.debug_macro section if macinfo_table is empty. + +2012-05-13 Uros Bizjak + + Backport from mainline + 2012-05-12 Uros Bizjak + + * config/alpha/alpha.c (alpha_emit_conditional_branch): Handle + ORDERED and UNORDERED conditions. + +2012-05-12 Eric Botcazou + + * function.c (requires_stack_frame_p): If the function can throw + non-call exceptions, return true if the insn can throw internally. + +2012-05-10 Eric Botcazou + + * gimplify.c (gimplify_decl_expr): For a TYPE_DECL, also gimplify the + DECL_ORIGINAL_TYPE if it is present. + +2012-05-09 Georg-Johann Lay + + Backport from 2012-05-12 mainline r187342. + + PR target/53256 + * config/avr/elf.h (ASM_DECLARE_FUNCTION_NAME): Remove. + * config/avr/avr-protos.h (avr_asm_declare_function_name): Remove. + * config/avr/avr.h (struct machine_function): Add attributes_checked_p. + * config/avr/avr.c (avr_asm_declare_function_name): Remove. + (expand_prologue): Move initialization of cfun->machine->is_naked, + is_interrupt, is_signal, is_OS_task, is_OS_main from here to... + (avr_set_current_function): ...this new static function. + (TARGET_SET_CURRENT_FUNCTION): New define. + (avr_function_ok_for_sibcall): Use cfun->machine->is_* instead of + checking attributes of current_function_decl. + (avr_regs_to_save): Ditto. + (signal_function_p): Rename to avr_signal_function_p. + (interrupt_function_p): Rename to avr_interrupt_function_p. + + * doc/extend.texi (Function Attributes): Better explanation of + 'interrupt' and 'signal' for AVR. Move 'ifunc' down to establish + alphabetical order. + +2012-05-09 Matthias Klose + + * gcc-ar.c (main): Don't check for execute bits for the plugin. + +2012-05-08 Hans-Peter Nilsson + + PR target/53272 + * config/cris/cris.c (cris_normal_notice_update_cc): For TARGET_V32, + when a constant source operand matches an "I" constraint, the "no + CC0 change" applies to a register-destination only, not a + strict_low_part-destination. + +2012-05-07 Ramana Radhakrishnan + + Backport from mainline: + 2012-04-19 Ramana Radhakrishnan + + * config/arm/sync.md (sync_optab): Change ior attribute to "or". + +2012-05-07 Jakub Jelinek + + PR tree-optimization/53239 + * tree-vrp.c (get_value_range): Set VR of + SSA_NAME_IS_DEFAULT_DEF of DECL_BY_REFERENCE RESULT_DECL + to nonnull. + +2012-05-07 Richard Guenther + + PR tree-optimization/53195 + * tree-inline.c (setup_one_parameter): Properly add referenced + vars from the parameters new known value. + +2012-05-06 John David Anglin + + Backport from mainline: + 2012-04-27 John David Anglin + + PR target/52999 + * config/pa/pa.c (pa_legitimate_constant_p): Don't put function labels + in constant pool. + +2012-05-04 Ian Lance Taylor + + * tree-vect-patterns.c (vect_single_imm_use): Correct return + values from false to NULL. + +2012-05-04 Uros Bizjak + + Backport from mainline + 2012-05-04 Uros Bizjak + + PR target/53228 + * config/i386/i386.h (X86_ARCH_CMOV): Rename from X86_ARCH_CMOVE. + (TARGET_CMOV): Rename from TARGET_CMOVE. + (TARGET_CMOVE): New define. + * config/i386/i386.c (ix86_option_override_internal): Use TARGET_CMOV. + Do not set TARGET_CMOVE here. + +2012-05-04 Ulrich Weigand + + Backport from mainline: + + 2012-05-04 Ulrich Weigand + + PR tree-optimization/52633 + * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Swap order of + vect_recog_widen_shift_pattern and vect_recog_over_widening_pattern. + (vect_recog_over_widening_pattern): Remove handling of code that was + already detected as over-widening pattern. Remove special handling + of "unsigned" cases. Instead, support general case of conversion + of the shift result to another type. + + 2012-05-04 Ulrich Weigand + + * tree-vect-patterns.c (vect_single_imm_use): New function. + (vect_recog_widen_mult_pattern): Use it instead of open-coding loop. + (vect_recog_over_widening_pattern): Likewise. + (vect_recog_widen_shift_pattern): Likewise. + + 2012-04-10 Ulrich Weigand + + PR tree-optimization/52870 + * tree-vect-patterns.c (vect_recog_widen_mult_pattern): Verify that + presumed pattern statement is within the same loop or basic block. + +2012-05-04 Richard Guenther + + * common.opt (flto-report): Do not mark as Optimization. + +2012-05-04 Eric Botcazou + + PR target/48496 + * recog.c (constrain_operands): If extra constraints are present, also + accept pseudo-registers with equivalent memory locations during reload. + +2012-05-03 Michael Meissner + + Backport from the mainline + 2012-05-03 Michael Meissner + + PR target/53199 + * config/rs6000/rs6000.md (bswapdi splitters): If + -mavoid-indexed-addresses (or -mcpu=power6 which sets it by + default) is used, generate an alternate sequence that does not + depend on using indexed addressing. + 2012-05-03 David S. Miller PR target/52684