X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2FChangeLog;h=b84d28656641f1c0b70db11f322069be44b95ff6;hb=4e7c0907e83e9482265236b01cca93aa4073ca3b;hp=fe776c275bacbedb7f9bf411c3b31d84867bed2b;hpb=4d2ec1d2bceb986655ca6327ba4d5a27dd846245;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fe776c275ba..b84d2865664 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,567 @@ +2012-09-20 Release Manager + + * GCC 4.7.2 released. + +2012-09-15 Andi Kleen + + Backport from mainline + 2012-09-07 Andi Kleen + + * gcc/lto-streamer.h (res_pair): Add. + (lto_file_decl_data): Replace resolutions with respairs. + Add max_index. + * gcc/lto/lto.c (lto_resolution_read): Remove max_index. Add rp. + Initialize respairs. + (lto_file_finalize): Set up resolutions vector lazily from respairs. + +2012-09-14 Walter Lee + + Backport from mainline. + 2012-09-14 Walter Lee + + * doc/invoke.texi (Option Summary): fix typesetting for -mcpu + option for TILEPro and TILE-Gx. + +2012-09-13 Uros Bizjak + + * config/i386/i386.h (x86_prefetchw): New global variable. + (TARGET_PREFETCHW): New macro. + * config/i386/i386.c (PTA_PREFETCHW): Ditto. + (processor_alias_table): Add PTA_PREFETCHW to + bdver1, bdver2 and btver1. + (ix86_option_override_internal): Set x86_prefetchw for + PTA_PREFETCHW targets. + * config/i386/i386.md (prefetch): Expand to prefetchw + for TARGET_PREFETCHW. + (*prefetch_3dnow_): Also enable for TARGET_PREFETCHW. + + Backport from mainline + 2012-08-13 Uros Bizjak + + * config/i386/i386.md (prefetch): Do not assert mode of operand 0. + (*prefetch_sse_): Do not set mode of address_operand predicate. + Rename to ... + (*prefetch_sse): ... this. + (*prefetch_3dnow_): Do not set mode of address_operand predicate. + Rename to ... + (*prefetch_3dnow): ... this. + +2012-09-13 Jakub Jelinek + + PR c/54559 + * c-typeck.c (c_finish_return): Do convert to BOOLEAN_TYPE or + COMPLEX_TYPE with in_late_binary_op set temporarily to true. + +2012-09-12 Teresa Johnson + + Backport from mainline. + 2012-09-12 Teresa Johnson + + PR gcov-profile/54487 + * configure.ac (HOST_HAS_F_SETLKW): Set based on compile + test using F_SETLKW with fcntl. + * configure, config.in: Regenerate. + +2012-09-12 Uros Bizjak + + Backport from mainline + 2012-09-12 Ganesh Gopalasubramanian + + * config/i386/i386.md : Comments on fma4 instruction selection + reflect requirement on register pressure based cost model. + + * config/i386/driver-i386.c (host_detect_local_cpu): fma4 + flag is set-reset as informed by the cpuid flag. + + * config/i386/i386.c (processor_alias_table): fma4 + flag is enabled for bdver2. + +2012-09-12 Christian Bruel + + * config/sh/newlib.h (NO_IMPLICIT_EXTERN_C): Define. + +2012-09-12 Jakub Jelinek + + * config.gcc: Obsolete picochip-*. + +2012-09-11 Richard Guenther + + PR debug/54534 + * cgraph.h (varpool_can_remove_if_no_refs): Restore dependence + on flag_toplevel_reorder. + +2012-09-10 Richard Henderson + + * config/alpha/predicates.md (small_symbolic_operand): Disallow + large offsets. + +2012-09-10 Georg-Johann Lay + + Backport from 2012-09-10 mainline r191132. + + PR target/54536 + * config/avr/avr-mcus.def (at90usb1287): Set LIBRARY_NAME to "usb1287". + +2012-09-10 Markus Trippelsdorf + + PR middle-end/54515 + * tree-sra.c (disqualify_base_of_expr): Check for possible + NULL_TREE returned by get_base_address() + +2012-09-07 Richard Guenther + + Backport from mainline + 2012-06-26 Jan Hubicka + + PR lto/53572 + * cgraph.h (varpool_can_remove_if_no_refs): Fix handling of + used symbols. + +2012-09-07 Richard Guenther + + Backport from mainline + 2012-07-13 Richard Guenther + + PR tree-optimization/53922 + * tree-vrp.c (value_inside_range): Change prototype to take + min/max instead of value-range. + (range_includes_zero_p): Likewise. Return the result from + value_inside_range. + (extract_range_from_binary_expr_1): Adjust to handle dont-know + return value from range_includes_zero_p. + (extract_range_from_unary_expr_1): Likewise. + (compare_range_with_value): Likewise. + (vrp_meet_1): Likewise. + +2012-09-07 Richard Guenther + + PR middle-end/53667 + * tree-ssa-structalias.c (handle_rhs_call): Properly clobber + EAF_NOESCAPED arguments. Transitively close non-EAF_DIRECT + arguments separately. + +2012-09-07 Jakub Jelinek + + Backported from mainline + 2012-09-06 Jakub Jelinek + + PR rtl-optimization/54455 + * sel-sched-ir.c (maybe_tidy_empty_bb): Give up if previous fallthru + bb ends up with asm goto referencing bb's label. + +2012-09-07 Ramana Radhakrishnan + + Backport from mainline. + 2012-08-29 Ramana Radhakrishnan + Richard Earnshaw + + PR target/54252 + * config/arm/arm.c (neon_dereference_pointer): Adjust nelems by + element size. Use elem_type from the formal parameter. New parameter + fcode. + (neon_expand_args): Adjust call to neon_dereference_pointer. + +2012-09-06 Uros Bizjak + + * config/i386/sse.md (_pblendvb): Use + reg_not_xmm0_operand_maybe_avx as operand 0 constraint. + +2012-09-06 Uros Bizjak + + Backport from mainline + 2012-08-11 Uros Bizjak + + * config/i386/i386.md (isa): Add fma and fma4. + (enabled): Handle fma and fma4. + * config/i386/sse.md (*fma_fmadd_): Merge *fma4_fmadd_. + (*fma_fmsub_): Merge *fma4_fmsub_. + (*fma_fnmadd_): Merge *fma4_fnmadd_. + (*fma_fnmsub_): Merge *fma4_fnmsub_. + (*fma_fmaddsub_): Merge *fma4_fmaddsub_. + (*fma_fmsubadd_): Merge *fma4_fmsubadd_. + + 2012-08-10 Uros Bizjak + + * config/i386/sse.md (*fma_fmadd_, *fma_fmsub_, + *fma_fnmadd_, *fma_fnmsub_, *fma_fmaddsub_, + *fma_fmsubadd_): Move FMA3 insn patterns before FMA4 patterns. + +2012-09-06 Richard Guenther + + PR tree-optimization/54498 + * tree-ssa-alias.h (get_continuation_for_phi): Add flag to + abort when reaching an already visited region. + * tree-ssa-alias.c (maybe_skip_until): Likewise. And do it. + (get_continuation_for_phi_1): Likewise. + (walk_non_aliased_vuses): When we translated the reference, + abort when we re-visit a region. + * tree-ssa-pre.c (translate_vuse_through_block): Adjust. + +2012-09-06 Andrew Pinski + + PR tree-opt/54494 + * tree-inline.c (remap_gimple_op_r): Copy TREE_SIDE_EFFECTS also. + +2012-09-05 Jakub Jelinek + + PR middle-end/54486 + * builtins.c (fold_builtin_strspn, fold_builtin_strcspn): Use + build_int_cst with size_type_node instead of size_int. + +2012-09-05 Georg-Johann Lay + + Backport from 2012-09-05 mainline r190697. + + PR target/54461 + * config.gcc (tm_file,target=avr-*-*): Add avr/avrlibc.h if + configured --with-avrlibc. + (tm_defines,target=avr-*-*): Add WITH_AVRLIBC if configured + --with-avrlibc. + * config/avr/avrlibc.h: New file. + * config/avr/avr-c.c: Build-in define __WITH_AVRLIBC__ if + configured --with-avrlibc. + * doc/invoke.texi (AVR Built-in Macros): Document __WITH_AVRLIBC__ + +2012-09-05 Bin Cheng + + Backport from 2012-09-04 mainline r190919 + + PR target/45070 + * config/arm/arm.c (thumb1_extra_regs_pushed): Handle return value + of size less than 4 bytes by using macro ARM_NUM_INTS. + (thumb1_unexpanded_epilogue): Use macro ARM_NUM_INTS. + +2012-09-04 Richard Henderson + + * alias.c (read_dependence): Return true for ALIAS_SET_MEMORY_BARRIER. + +2012-09-04 Georg-Johann Lay + + Backport from 2012-09-04 mainline r190920 + + PR target/54476 + * config/avr/avr.c (avr_expand_delay_cycles): Mask operand with SImode. + +2012-09-04 Senthil Kumar Selvaraj + + Backport from 2012-09-04 mainline r190914 + + PR target/54220 + * config/avr/avr.c (TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS): New + define to... + (avr_allocate_stack_slots_for_args): ...this new static function. + +2012-09-03 H.J. Lu + + Backported from mainline + 2012-08-23 H.J. Lu + + PR driver/54335 + * doc/invoke.texi: Add -da and remove -dm. + +2012-09-03 Jakub Jelinek + + Backported from mainline + 2012-09-01 Jakub Jelinek + + PR target/54436 + * config/i386/i386.md (*mov_insv_1_rex64, *movsi_insv_1): If + operands[1] is CONST_INT_P, convert it to QImode before printing. + + 2012-08-31 Jakub Jelinek + + PR c/54428 + * c-convert.c (convert): Don't call fold_convert_loc if + TYPE_MAIN_VARIANT of a COMPLEX_TYPE is the same, unless e + is a COMPLEX_EXPR. Remove TYPE_MAIN_VARIANT check from + COMPLEX_TYPE -> COMPLEX_TYPE conversion. + + 2012-08-24 Jakub Jelinek + + PR c/54363 + * gimplify.c (optimize_compound_literals_in_ctor): Only recurse + if init is a CONSTRUCTOR. + +2012-09-02 Eric Botcazou + + PR rtl-optimization/54369 + * config/mips/mips.c (mips_reorg): Invoke cleanup_barriers before + calling dbr_schedule. + * config/sparc/sparc.c (sparc_reorg): Likewise. + +2012-08-31 Kirill Yukhin + + Backport from mainline + 2012-08-23 Yuri Rumyantsev + + * config/i386/i386.c (ia32_multipass_dfa_lookahead) : Add + case for Atom processor. + +2012-08-28 Uros Bizjak + + Backport from mainline + 2012-08-27 Uros Bizjak + + PR target/46254 + * config/i386/predicates.md (cmpxchg8b_pic_memory_operand): Return + true for TARGET_64BIT or !flag_pic. + * config/i386/sync.md (*atomic_compare_and_swap_doubledi_pic): Remove. + (atomic_compare_and_swap_double): Change operand 2 predicate + to cmpxchg8b_pic_memory_operand. Use DWIH mode iterator. + Add insn constraint. Conditionally emit xchg asm insns. + (atomic_compare_and_swap): Update calls. Check only + cmpxchg8b_pic_memory_operand in memory address fixup. + (DCASMODE): Remove. + (CASHMODE): Rename from DCASHMODE. + (doublemodesuffix): Update modes. + (regprefix): New mode attribute. + + (unspecv) : Remove. + : New constant. + (atomic_compare_and_swap_1): Rename from + atomic_compare_and_swap_single. Update calls and + unspec_volatile constants. + (atomic_compare_and_swap_doubleword): Rename from + atomic_compare_and_swap_double. Update calls and + unspec_volatile constants. + +2012-08-28 Walter Lee + + Backport from mainline + 2012-08-28 Walter Lee + + * confg/tilegx/tilegx.md: Fix code style. + (*zero_extendsidi_truncdisi): Fix typo. + * config/tilegx/tilegx.c: Fix code style. + (tilegx_function_profiler): Fix typo. + +2012-08-27 Walter Lee + + Backport from mainline + 2012-08-27 Walter Lee + + * doc/md.texi (TILE-Gx): Fix typo. + +2012-08-27 Walter Lee + + Backport from mainline + 2012-08-27 Walter Lee + + * config/tilegx/tilegx.c (tilegx_function_profiler): Fix typo. + * config/tilepro/tilepro.c (tilepro_function_profiler): Ditto. + +2012-08-27 Walter Lee + + Backport from mainline + 2012-08-27 Walter Lee + + * config/tilegx/tilegx.md (*bfins): Rename to insn_bfins. + (insn_bfins): Delete. + +2012-08-27 Walter Lee + + Backport from mainline + 2012-08-27 Walter Lee + + * config/tilegx/sync.md (atomic_compare_and_swap_bare, + atomic_exchange_bare, + atomic_fetch__bare): Set type to X1_remote. + * config/tilegx/tilegx-generic.md (X1_remote): New insn_reservation. + * config/tilegx/tilegx.md (type): Add X1_remove. + (insn_cmpexch, insn_exch, + insn_fetchadd, insn_fetchaddgez, + insn_fetchand, insn_fetchor): Set type to + X1_remote. + +2012-08-25 Eric Botcazou + + PR rtl-optimization/54088 + * jump.c (delete_related_insns): Robustify latest change. + +2012-08-21 Richard Guenther + + Backport from mainline + 2012-08-16 Richard Guenther + + PR middle-end/54146 + * tree-ssa-loop-niter.c (find_loop_niter_by_eval): Free the + exit vector. + * ipa-pure-const.c (analyze_function): Use FOR_EACH_LOOP_BREAK. + * cfgloop.h (FOR_EACH_LOOP_BREAK): Fix. + * tree-ssa-structalias.c (handle_lhs_call): Properly free rhsc. + * tree-ssa-loop-im.c (analyze_memory_references): Adjust. + (tree_ssa_lim_finalize): Free all mem_refs. + * tree-ssa-sccvn.c (extract_and_process_scc_for_name): Free + scc when bailing out. + * modulo-sched.c (sms_schedule): Use FOR_EACH_LOOP_BREAK. + * ira-build.c (loop_with_complex_edge_p): Free loop exit vector. + * graphite-sese-to-poly.c (scop_ivs_can_be_represented): Use + FOR_EACH_LOOP_BREAK. + + 2012-08-17 Richard Guenther + + * tree-sra.c (modify_function): Free redirect_callers vector. + * ipa-split.c (split_function): Free args_to_pass vector. + * tree-vect-stmts.c (vectorizable_operation): Do not pre-allocate + vec_oprnds. + (new_stmt_vec_info): Do not pre-allocate STMT_VINFO_SAME_ALIGN_REFS. + * tree-vect-slp.c (vect_free_slp_instance): Free the instance. + (vect_analyze_slp_instance): Free everything. + (destroy_bb_vec_info): Free the SLP instances. + + 2012-08-17 Richard Guenther + + * params.def (integer-share-limit): Decrease from 256 to 251, + add rationale. + + 2012-08-21 Richard Guenther + + * tree-ssa-loop-im.c (tree_ssa_lim_finalize): Properly free + the affine expansion cache. + +2012-08-20 Patrick Marlier + + Backported from trunk + 2012-08-20 Patrick Marlier + + PR middle-end/53992 + * omp-low.c (lower_omp_1): Handle GIMPLE_TRANSACTION. + +2012-08-20 Ramana Radhakrishnan + + Backport from mainline. + 2012-08-15 Ramana Radhakrishnan + + PR target/54212 + * config/arm/neon.md (vec_set_internal VD,VQ): Do not + mark as predicable. Adjust asm template. + (vec_setv2di_internal): Likewise. + (vec_extract VD, VQ): Likewise. + (vec_extractv2di): Likewise. + (neon_vget_lane_sext_internal VD, VQ): Likewise. + (neon_vset_lane_sext_internal VD, VQ): Likewise. + (neon_vdup_n VX, V32): Likewise. + (neon_vdup_nv2di): Likewise. + +2012-08-17 Walter Lee + + Backport from mainline + 2012-08-17 Walter Lee + + * config/tilegx/feedback.h (FEEDBACK_ENTER_EXPLICIT): Define. + (FEEDBACK_ENTER): Define. + (FEEDBACK_REENTER): Define. + (FEEDBACK_ENTRY): Define. + * config/tilepro/feedback.h: (FEEDBACK_ENTER_EXPLICIT): Define. + (FEEDBACK_ENTER): Define. + (FEEDBACK_REENTER): Define. + (FEEDBACK_ENTRY): Define. + +2012-08-16 Walter Lee + + Backport from mainline + 2012-08-16 Walter Lee + + * config.gcc (tilegx-*-linux*): Add feedback.h. + (tilepro-*-linux*): Likewise. + * config/tilegx/feedback.h: New file. + * config/tilepro/feedback.h: New file. + +2012-08-08 Pavel Chupin + + Backport from mainline r189840 and r187586: + 2012-07-25 Sergey Melnikov + + * config/i386/i386.md (stack_protect_set): Disable the pattern + for Android since Android libc (bionic) does not provide random + value for stack protection guard at gs:0x14. Guard value + will be provided from external symbol (default implementation). + (stack_protect_set_): Likewise. + (stack_protect_test): Likewise. + (stack_protect_test_): Likewise. + * gcc/defaults.h: Define macro TARGET_HAS_BIONIC to 0 - target does + not have Bionic by default + * config/linux.h: Redefine macro TARGET_HAS_BIONIC to (OPTION_BIONIC) + Macro OPTION_BIONIC is defined in this file and provides Bionic + accessibility status + + 2012-05-16 Igor Zamyatin + + * configure.ac: Stack protector enabling for Android targets. + * configure: Regenerate. + +2012-08-13 Jakub Jelinek + + Backported from trunk + 2012-07-19 Jakub Jelinek + + PR rtl-optimization/53942 + * function.c (assign_parm_setup_reg): Avoid zero/sign extension + directly from likely spilled non-fixed hard registers, move them + to pseudo first. + +2012-08-11 Uros Bizjak + + * config/i386/sse.md (xop_phaddbq): Fix vec_select selectors. + (xop_phaddubq): Ditto. + +2012-08-10 Ulrich Weigand + + Backport from mainline + 2012-07-30 Ulrich Weigand + Richard Earnshaw + + * target.def (vector_alignment): New target hook. + * doc/tm.texi.in (TARGET_VECTOR_ALIGNMENT): Document new hook. + * doc/tm.texi: Regenerate. + * targhooks.c (default_vector_alignment): New function. + * targhooks.h (default_vector_alignment): Add prototype. + * stor-layout.c (layout_type): Use targetm.vector_alignment. + * config/arm/arm.c (arm_vector_alignment): New function. + (TARGET_VECTOR_ALIGNMENT): Define. + + * tree-vect-data-refs.c (vect_update_misalignment_for_peel): Use + vector type alignment instead of size. + * tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): Use + element type size directly instead of computing it from alignment. + Fix variable naming and comment. + +2012-08-09 Uros Bizjak + + Backport from mainline + 2012-08-09 Uros Bizjak + + * config/alpha/alpha.c (alpha_pad_noreturn): Rename to ... + (alpha_pad_function_end): ... this. Also insert NOP between + sibling call and GP load. + (alpha_reorg): Update call to alpha_pad_function_end. Expand comment. + +2012-08-09 H.J. Lu + + Backport from mainline + 2012-08-08 Richard Sandiford + H.J. Lu + + PR rtl-optimization/54157 + * combine.c (gen_lowpart_for_combine): Don't return identity + for CONST or symbolic reference. + +2012-08-06 Uros Bizjak + + Backport from mainline + 2012-07-23 Uros Bizjak + + * config/i386/i386-protos.h (ix86_lea_outperforms): Remove prototype. + * config/i386/i386.c (ix86_lea_outperforms): Make static. Make + split_cost argument signed. + (ix86_use_lea_for_mov): Use INVALID_REGNUM instead of -1. + (ix86_avoid_lea_for_addr): Ditto. + + 2012-07-27 Uros Bizjak + + * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false if + the address has less than two components. + 2012-08-02 Steve Ellcey Backport from mainline